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 f7cfe2a

Browse files
TimWollaDanielEScherzer
authored andcommitted
Revert unrelated build/gen_stub.php change
This is already fixed differently in master.
1 parent 4e8afe7 commit f7cfe2a

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
@@ -5321,7 +5321,7 @@ static function (ConstInfo $constInfo) use ($allConstInfos, $phpVersionIdMinimum
53215321
$constName = str_replace('\\', '\\\\', $constInfo->name->__toString());
53225322
$constVarName = 'const_' . $constName;
53235323

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

0 commit comments

Comments
(0)

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