Skip to content

Commit e1037b1

Browse files
authored
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy