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 0d20504

Browse files
committed
gen_stub: Fix undefined variable warning
> PHP Warning: Undefined variable $code in build/gen_stub.php on line 5322 Introduced in php#18735.
1 parent 3399235 commit 0d20504

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎build/gen_stub.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5313,6 +5313,8 @@ function generateGlobalConstantAttributeInitialization(
53135313
$constInfos,
53145314
"",
53155315
static function (ConstInfo $constInfo) use ($allConstInfos, $phpVersionIdMinimumCompatibility) {
5316+
$code = "";
5317+
53165318
if ($constInfo->attributes === []) {
53175319
return null;
53185320
}

0 commit comments

Comments
(0)

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