Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e1037b1

Browse files
Revert unrelated build/gen_stub.php change
This is already fixed differently in master.
1 parent a1a8809 commit e1037b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎build/gen_stub.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5317,7 +5317,7 @@ static function (ConstInfo $constInfo) use ($allConstInfos, $phpVersionIdMinimum
53175317
$constName = str_replace('\\', '\\\\', $constInfo->name->__toString());
53185318
$constVarName = 'const_' . $constName;
53195319

5320-
$code = "\tzend_constant *$constVarName = zend_hash_str_find_ptr(EG(zend_constants), \"" . $constName . "\", sizeof(\"" . $constName . "\") - 1);\n";
5320+
$code .= "\tzend_constant *$constVarName = zend_hash_str_find_ptr(EG(zend_constants), \"" . $constName . "\", sizeof(\"" . $constName . "\") - 1);\n";
53215321
foreach ($constInfo->attributes as $key => $attribute) {
53225322
$code .= $attribute->generateCode(
53235323
"zend_add_global_constant_attribute($constVarName",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /