Skip to content

Commit b4ec3e9

Browse files
authored
Do not generate CONST_CS when registering constants (#9439)
1 parent 291c8bd commit b4ec3e9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+2960
-2960
lines changed

Zend/zend_constants_arginfo.h

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/gen_stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2013,7 +2013,7 @@ private function getGlobalConstDeclaration(EvaluatedValue $value, iterable $allC
20132013
$constValue = $value->value;
20142014
$cConstValue = $value->getCConstValue($allConstInfos);
20152015

2016-
$flags = "CONST_CS | CONST_PERSISTENT";
2016+
$flags = "CONST_PERSISTENT";
20172017
if ($this->isDeprecated) {
20182018
$flags .= " | CONST_DEPRECATED";
20192019
}

ext/calendar/calendar_arginfo.h

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/com_dotnet/com_extension_arginfo.h

Lines changed: 55 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)