From 0e04d32145ed6a307c277e4838620a172501d440 Mon Sep 17 00:00:00 2001 From: ChrisAbner Date: Wed, 28 Oct 2026 12:04:53 -0500 Subject: [PATCH 1/3] Keep the function call stack when invalidating expressions invalidateExpression() and invalidateMethodsOnExpression() rebuilt the scope with an empty $inFunctionCallsStack, so inside a closure passed as an argument, Scope::getFunctionCallStack() and getFunctionCallStackWithParameters() returned [] after any call that invalidated something (a void or @phpstan-impure method) until the end of the closure. Keep the stack, as entering a closure already does since be279dba7. --- src/Analyser/MutatingScope.php | 4 +- .../Rules/ScopeFunctionCallStackRuleTest.php | 35 +++++++++++++++ ...unctionCallStackWithParametersRuleTest.php | 35 +++++++++++++++ tests/PHPStan/Rules/data/bug-15377.php | 45 +++++++++++++++++++ turbo-ext/src/MutatingScope.cpp | 10 ++--- 5 files changed, 122 insertions(+), 7 deletions(-) create mode 100644 tests/PHPStan/Rules/data/bug-15377.php diff --git a/src/Analyser/MutatingScope.php b/src/Analyser/MutatingScope.php index c64394641f4..c2144e8923a 100644 --- a/src/Analyser/MutatingScope.php +++ b/src/Analyser/MutatingScope.php @@ -4181,7 +4181,7 @@ private function invalidateExpressionWithoutAliases(Expr $expressionToInvalidate $result[2], $this->currentlyAssignedExpressions, $this->currentlyAllowedUndefinedExpressions, - [], + $this->inFunctionCallsStack, $this->inFirstLevelStatement, $this->afterExtractCall, ); @@ -4225,7 +4225,7 @@ private function invalidateMethodsOnExpression(Expr $expressionToInvalidate): se $result[2], $this->currentlyAssignedExpressions, $this->currentlyAllowedUndefinedExpressions, - [], + $this->inFunctionCallsStack, $this->inFirstLevelStatement, $this->afterExtractCall, ); diff --git a/tests/PHPStan/Rules/ScopeFunctionCallStackRuleTest.php b/tests/PHPStan/Rules/ScopeFunctionCallStackRuleTest.php index 79ba5819fed..8a152060ef4 100644 --- a/tests/PHPStan/Rules/ScopeFunctionCallStackRuleTest.php +++ b/tests/PHPStan/Rules/ScopeFunctionCallStackRuleTest.php @@ -43,4 +43,39 @@ public function testRule(): void ]); } + #[RequiresPhp('>= 8.0.0')] + public function testBug15377(): void + { + $this->analyse([__DIR__ . '/data/bug-15377.php'], [ + [ + 'Bug15377\inTransaction', + 13, + ], + [ + 'Bug15377\inTransaction', + 17, + ], + [ + 'Bug15377\inTransaction', + 27, + ], + [ + 'Bug15377\inTransaction', + 28, + ], + [ + 'Bug15377\inTransaction', + 29, + ], + [ + 'Bug15377\inTransaction', + 43, + ], + [ + "Bug15377\\inTransaction\nBug15377\\takesTwo", + 44, + ], + ]); + } + } diff --git a/tests/PHPStan/Rules/ScopeFunctionCallStackWithParametersRuleTest.php b/tests/PHPStan/Rules/ScopeFunctionCallStackWithParametersRuleTest.php index 77a7b89931b..7b86c1a4e09 100644 --- a/tests/PHPStan/Rules/ScopeFunctionCallStackWithParametersRuleTest.php +++ b/tests/PHPStan/Rules/ScopeFunctionCallStackWithParametersRuleTest.php @@ -45,4 +45,39 @@ public function testRule(): void ]); } + #[RequiresPhp('>= 8.0.0')] + public function testBug15377(): void + { + $this->analyse([__DIR__ . '/data/bug-15377.php'], [ + [ + 'Bug15377\inTransaction ($callback)', + 13, + ], + [ + 'Bug15377\inTransaction ($callback)', + 17, + ], + [ + 'Bug15377\inTransaction ($callback)', + 27, + ], + [ + 'Bug15377\inTransaction ($callback)', + 28, + ], + [ + 'Bug15377\inTransaction ($callback)', + 29, + ], + [ + 'Bug15377\inTransaction ($callback)', + 43, + ], + [ + "Bug15377\\inTransaction (\$callback)\nBug15377\\takesTwo (\$j)", + 44, + ], + ]); + } + } diff --git a/tests/PHPStan/Rules/data/bug-15377.php b/tests/PHPStan/Rules/data/bug-15377.php new file mode 100644 index 00000000000..122d19de821 --- /dev/null +++ b/tests/PHPStan/Rules/data/bug-15377.php @@ -0,0 +1,45 @@ += 8.0 + +namespace Bug15377; + +interface Mailer { public function send(): void; } +interface Counter { public function next(): int; } +function inTransaction(callable $callback): void {} + +function a(Mailer $mailer, Counter $counter): void +{ + inTransaction(function () use ($counter): void { + $counter->next(); + throw new \Exception(); + }); + inTransaction(function () use ($mailer): void { + $mailer->send(); + throw new \Exception(); + }); +} + +final class Concrete { public function send(): void {} } +interface Impure { /** @phpstan-impure */ public function next(): int; } +function voidFn(): void {} + +function b(Concrete $c, Impure $i): void +{ + inTransaction(function () use ($c): void { $c->send(); throw new \Exception(); }); + inTransaction(function (): void { voidFn(); throw new \Exception(); }); + inTransaction(function () use ($i): void { $i->next(); throw new \Exception(); }); +} + +interface Queue +{ + /** @phpstan-impure */ + public function next(): int; + public function peek(): ?int; +} +function takesInt(int $i): void {} +function takesTwo(int $i, mixed $j): void {} + +function c(Queue $q): void +{ + inTransaction(function () use ($q): void { $x = $q->peek(); takesInt($q->next()); throw new \Exception(); }); + inTransaction(function () use ($q): void { if ($q->peek() !== null) { takesTwo($q->next(), throw new \Exception()); } }); +} diff --git a/turbo-ext/src/MutatingScope.cpp b/turbo-ext/src/MutatingScope.cpp index 7e75eac9f0d..fafbce9d1ec 100644 --- a/turbo-ext/src/MutatingScope.cpp +++ b/turbo-ext/src/MutatingScope.cpp @@ -7849,12 +7849,12 @@ class MutatingScope zend_throw_error(NULL, "phpstan_turbo: ScopeOps::invalidateExpressionEntries() answered an unexpected shape"); return zv::Val(); } - return scopeWith(Z_ARRVAL_P(expressionTypes), Z_ARRVAL_P(nativeExpressionTypes), Z_ARRVAL_P(conditionalExpressions), true); + return scopeWith(Z_ARRVAL_P(expressionTypes), Z_ARRVAL_P(nativeExpressionTypes), Z_ARRVAL_P(conditionalExpressions)); } /* ScopeOps::scopeWith($this, ...) with the twin's argument list: the - * three tables as given, an empty call stack, the rest from $this */ - zv::Val scopeWith(HashTable *expressionTypes, HashTable *nativeExpressionTypes, HashTable *conditionalExpressions, bool emptyCallStack) + * three tables as given, the rest from $this */ + zv::Val scopeWith(HashTable *expressionTypes, HashTable *nativeExpressionTypes, HashTable *conditionalExpressions) { if (UNEXPECTED(!requireSlot(PT_MS_PROP_CURRENTLY_ASSIGNED_EXPRESSIONS, "currentlyAssignedExpressions") || !requireSlot(PT_MS_PROP_CURRENTLY_ALLOWED_UNDEFINED_EXPRESSIONS, "currentlyAllowedUndefinedExpressions") @@ -7868,7 +7868,7 @@ class MutatingScope conditionalExpressions, Z_ARRVAL_P(slot(PT_MS_PROP_CURRENTLY_ASSIGNED_EXPRESSIONS).raw()), Z_ARRVAL_P(slot(PT_MS_PROP_CURRENTLY_ALLOWED_UNDEFINED_EXPRESSIONS).raw()), - emptyCallStack ? (HashTable *) &zend_empty_array : Z_ARRVAL_P(slot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK).raw()), + Z_ARRVAL_P(slot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK).raw()), slotBool(PT_MS_PROP_IN_FIRST_LEVEL_STATEMENT), slotBool(PT_MS_PROP_AFTER_EXTRACT_CALL)); } @@ -7942,7 +7942,7 @@ class MutatingScope zend_throw_error(NULL, "phpstan_turbo: ScopeOps::invalidateMethodsOnExpression() answered an unexpected shape"); return zv::Val(); } - return scopeWith(Z_ARRVAL_P(expressionTypes), Z_ARRVAL_P(nativeExpressionTypes), Z_ARRVAL_P(conditionalExpressions), true); + return scopeWith(Z_ARRVAL_P(expressionTypes), Z_ARRVAL_P(nativeExpressionTypes), Z_ARRVAL_P(conditionalExpressions)); } /* private (twin 3893); its only caller is applySpecifiedTypes() */ From 6527ef6115b5875a9fbc3f27fd251642a3a00817 Mon Sep 17 00:00:00 2001 From: ChrisAbner Date: Wed, 28 Oct 2026 14:46:14 -0500 Subject: [PATCH 2/3] Give catch and finally blocks the function call stack of the try statement A throw point records its scope in the middle of a call, so a catch block built from it inherited that call's stack. In `try { class_exists(name()); } catch (...) { new Missing(); }` the catch block counted as inside class_exists() and the missing class was not reported. TryCatchHandler now gives the throw point scopes the stack of the try statement before building the catch and finally scopes from them. --- src/Analyser/MutatingScope.php | 25 + src/Analyser/StmtHandler/TryCatchHandler.php | 12 +- .../Rules/Classes/InstantiationRuleTest.php | 11 + .../instantiation-class-exists-in-catch.php | 17 + .../Rules/ScopeFunctionCallStackRuleTest.php | 4 + ...unctionCallStackWithParametersRuleTest.php | 4 + tests/PHPStan/Rules/data/bug-15377.php | 8 + turbo-ext/src/MutatingScope.cpp | 41 + turbo-ext/src/TryCatchHandler.cpp | 40 +- turbo-ext/src/generated/MutatingScope.h | 1582 +++++++++-------- turbo-ext/src/support.h | 2 + 11 files changed, 935 insertions(+), 811 deletions(-) create mode 100644 tests/PHPStan/Rules/Classes/data/instantiation-class-exists-in-catch.php diff --git a/src/Analyser/MutatingScope.php b/src/Analyser/MutatingScope.php index c2144e8923a..21f2788ebd6 100644 --- a/src/Analyser/MutatingScope.php +++ b/src/Analyser/MutatingScope.php @@ -1775,6 +1775,31 @@ public function popInFunctionCall(): self return $parentScope; } + /** + * Takes the function call stack of $scope. A throw point records its scope + * in the middle of a call, so the catch and finally blocks built from it + * take the stack of the try statement instead. + */ + public function withFunctionCallStackOf(self $scope): self + { + if ($this->inFunctionCallsStack === $scope->inFunctionCallsStack) { + return $this; + } + + /** @var static */ + return ScopeOps::scopeWith( + $this, + $this->expressionTypes, + $this->nativeExpressionTypes, + $this->conditionalExpressions, + $this->currentlyAssignedExpressions, + $this->currentlyAllowedUndefinedExpressions, + $scope->inFunctionCallsStack, + $this->inFirstLevelStatement, + $this->afterExtractCall, + ); + } + /** @api */ public function isInClassExists(string $className): bool { diff --git a/src/Analyser/StmtHandler/TryCatchHandler.php b/src/Analyser/StmtHandler/TryCatchHandler.php index 320a40f4461..b1b87efc5f9 100644 --- a/src/Analyser/StmtHandler/TryCatchHandler.php +++ b/src/Analyser/StmtHandler/TryCatchHandler.php @@ -226,7 +226,8 @@ public function processStmt( // of the walk does not flow anywhere $deadCatchScope = null; foreach ($branchScopeResult->getThrowPoints() as $throwPoint) { - $deadCatchScope = $deadCatchScope === null ? $throwPoint->getScope() : $deadCatchScope->mergeWith($throwPoint->getScope()); + $throwPointScope = $throwPoint->getScope()->withFunctionCallStackOf($scope); + $deadCatchScope = $deadCatchScope === null ? $throwPointScope : $deadCatchScope->mergeWith($throwPointScope); } $deadCatchScope = ($deadCatchScope ?? $scope->mergeWith($branchScope))->enterCatchType($catchType instanceof NeverType ? $originalCatchType : $catchType, $catchNode->var !== null && is_string($catchNode->var->name) ? $catchNode->var->name : null); $deadCatchResult = $nodeScopeResolver->processStmtNodesInternal($catchNode, $catchNode->stmts, $deadCatchScope, $storage, $nodeCallback, $context); @@ -254,10 +255,11 @@ public function processStmt( $catchScope = null; foreach ($matchingThrowPoints as $matchingThrowPoint) { + $throwPointScope = $matchingThrowPoint->getScope()->withFunctionCallStackOf($scope); if ($catchScope === null) { - $catchScope = $matchingThrowPoint->getScope(); + $catchScope = $throwPointScope; } else { - $catchScope = $catchScope->mergeWith($matchingThrowPoint->getScope()); + $catchScope = $catchScope->mergeWith($throwPointScope); } } @@ -302,7 +304,7 @@ public function processStmt( if ($finallyScope === null) { continue; } - $finallyScope = $finallyScope->mergeWith($catchThrowPoint->getScope()); + $finallyScope = $finallyScope->mergeWith($catchThrowPoint->getScope()->withFunctionCallStackOf($scope)); } } @@ -314,7 +316,7 @@ public function processStmt( if ($finallyScope === null) { continue; } - $finallyScope = $finallyScope->mergeWith($throwPoint->getScope()); + $finallyScope = $finallyScope->mergeWith($throwPoint->getScope()->withFunctionCallStackOf($scope)); } if ($finallyScope !== null) { diff --git a/tests/PHPStan/Rules/Classes/InstantiationRuleTest.php b/tests/PHPStan/Rules/Classes/InstantiationRuleTest.php index 497936b5bce..afcc628ded4 100644 --- a/tests/PHPStan/Rules/Classes/InstantiationRuleTest.php +++ b/tests/PHPStan/Rules/Classes/InstantiationRuleTest.php @@ -291,6 +291,17 @@ public function testClassExists(): void $this->analyse([__DIR__ . '/data/instantiation-class-exists.php'], []); } + public function testClassExistsInCatch(): void + { + $this->analyse([__DIR__ . '/data/instantiation-class-exists-in-catch.php'], [ + [ + 'Instantiated class InstantiationClassExistsInCatch\Missing not found.', + 15, + 'Learn more at https://phpstan.org/user-guide/discovering-symbols', + ], + ]); + } + public function testBug3404(): void { $this->analyse([__DIR__ . '/data/bug-3404.php'], [ diff --git a/tests/PHPStan/Rules/Classes/data/instantiation-class-exists-in-catch.php b/tests/PHPStan/Rules/Classes/data/instantiation-class-exists-in-catch.php new file mode 100644 index 00000000000..60517d49758 --- /dev/null +++ b/tests/PHPStan/Rules/Classes/data/instantiation-class-exists-in-catch.php @@ -0,0 +1,17 @@ +peek(); takesInt($q->next()); throw new \Exception(); }); inTransaction(function () use ($q): void { if ($q->peek() !== null) { takesTwo($q->next(), throw new \Exception()); } }); } + +/** @throws \RuntimeException */ +function name(): string { return ''; } + +function d(): void +{ + inTransaction(function (): void { try { var_dump(name()); } catch (\RuntimeException $e) { throw $e; } }); +} diff --git a/turbo-ext/src/MutatingScope.cpp b/turbo-ext/src/MutatingScope.cpp index fafbce9d1ec..9f10f237ef9 100644 --- a/turbo-ext/src/MutatingScope.cpp +++ b/turbo-ext/src/MutatingScope.cpp @@ -3525,6 +3525,33 @@ class MutatingScope return parentScope; } + zv::Val withFunctionCallStackOf(zend_object *scopeObject) + { + MutatingScope scope(scopeObject); + if (UNEXPECTED(!requireSlot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK, "inFunctionCallsStack") + || !scope.requireSlot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK, "inFunctionCallsStack"))) { + return zv::Val(); + } + zval *stack = scope.slot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK).raw(); + if (zend_is_identical(slot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK).raw(), stack)) return self_(); + if (UNEXPECTED(!requireSlot(PT_MS_PROP_EXPRESSION_TYPES, "expressionTypes") + || !requireSlot(PT_MS_PROP_NATIVE_EXPRESSION_TYPES, "nativeExpressionTypes") + || !requireSlot(PT_MS_PROP_CONDITIONAL_EXPRESSIONS, "conditionalExpressions") + || !requireSlot(PT_MS_PROP_CURRENTLY_ASSIGNED_EXPRESSIONS, "currentlyAssignedExpressions") + || !requireSlot(PT_MS_PROP_CURRENTLY_ALLOWED_UNDEFINED_EXPRESSIONS, "currentlyAllowedUndefinedExpressions"))) { + return zv::Val(); + } + return scopeWithTables( + Z_ARRVAL_P(slot(PT_MS_PROP_EXPRESSION_TYPES).raw()), + Z_ARRVAL_P(slot(PT_MS_PROP_NATIVE_EXPRESSION_TYPES).raw()), + Z_ARRVAL_P(slot(PT_MS_PROP_CONDITIONAL_EXPRESSIONS).raw()), + Z_ARRVAL_P(slot(PT_MS_PROP_CURRENTLY_ASSIGNED_EXPRESSIONS).raw()), + Z_ARRVAL_P(slot(PT_MS_PROP_CURRENTLY_ALLOWED_UNDEFINED_EXPRESSIONS).raw()), + Z_ARRVAL_P(stack), + slotBool(PT_MS_PROP_IN_FIRST_LEVEL_STATEMENT), + slotBool(PT_MS_PROP_AFTER_EXTRACT_CALL)); + } + /* $this->inFunctionCallsStack entry's [0] — the reflection of the call, * NULL when the entry carries none (the twin's list destructuring) */ static zval *inFunctionCallReflection(zv::Ref entryValue) @@ -14777,6 +14804,12 @@ PT_MINIT_REGISTRATION(pt_register_mutating_scope) cls.method(sigs::popInFunctionCall, msPopInFunctionCall); + cls.method(sigs::withFunctionCallStackOf, [](INTERNAL_FUNCTION_PARAMETERS) { + zval *scope; + if (!zp::parse(execute_data, scope)) RETURN_THROWS(); + PT_RETURN_VAL(PT_THIS.withFunctionCallStackOf(Z_OBJ_P(scope))); + }); + cls.method(sigs::isInClassExists, [](INTERNAL_FUNCTION_PARAMETERS) { zend_string *className; if (!zp::parse(execute_data, className)) RETURN_THROWS(); @@ -15770,6 +15803,14 @@ zv::Val pt_mutating_scope_enter_catch_type(zend_object *scope, zval *catchType, return pt_type_call(scope, PT_LC("entercatchtype"), 2, argv); } +zv::Val pt_mutating_scope_with_function_call_stack_of(zend_object *scope, zend_object *otherScope) +{ + if (PT_MS_INHERITS(scope, "withfunctioncallstackof")) return MutatingScope(scope).withFunctionCallStackOf(otherScope); + zval argv[1]; + ZVAL_OBJ(&argv[0], otherScope); + return pt_type_call(scope, PT_LC("withfunctioncallstackof"), 1, argv); +} + zv::Val pt_mutating_scope_process_finally_scope(zend_object *scope, zend_object *finallyScope, zend_object *originalFinallyScope) { if (PT_MS_INHERITS(scope, "processfinallyscope") && EXPECTED(instanceof_function(finallyScope->ce, pt_ce_mutating_scope) && instanceof_function(originalFinallyScope->ce, pt_ce_mutating_scope))) return MutatingScope(scope).processFinallyScope(finallyScope, originalFinallyScope); diff --git a/turbo-ext/src/TryCatchHandler.cpp b/turbo-ext/src/TryCatchHandler.cpp index 13fb9e4ea00..c0554138cff 100644 --- a/turbo-ext/src/TryCatchHandler.cpp +++ b/turbo-ext/src/TryCatchHandler.cpp @@ -156,6 +156,16 @@ inline bool isNeverType(zval *type) return !error; } +/* $throwPoint->getScope()->withFunctionCallStackOf($scope); UNDEF = pending + * exception */ +zv::Val throwPointScope(zval *throwPoint, zval *scope) +{ + zv::Val hold; + zval *throwScope = pt_internal_throw_point_scope(throwPoint, hold); + if (UNEXPECTED(throwScope == NULL)) return zv::Val(); + return pt_mutating_scope_with_function_call_stack_of(Z_OBJ_P(throwScope), Z_OBJ_P(scope)); +} + } // namespace namespace phpstanturbo { @@ -478,14 +488,13 @@ class TryCatchHandler zv::Val branchThrowPointsHold = zv::Val::copyOf(zv::Ref(branchThrowPoints)); if (Z_TYPE_P(branchThrowPointsHold.raw()) == IS_ARRAY) { for (auto throwEntry : zv::ArrRef(branchThrowPointsHold.raw())) { - zv::Val scopeHold; - zval *throwScope = pt_internal_throw_point_scope(throwEntry.value().deref().raw(), scopeHold); - if (UNEXPECTED(throwScope == NULL)) return zv::Val(); + zv::Val throwScope = throwPointScope(throwEntry.value().deref().raw(), scope); + if (UNEXPECTED(throwScope.isUndef())) return zv::Val(); if (mergedScope.isNull()) { - mergedScope = zv::Val::copyOf(zv::Ref(throwScope)); + mergedScope = std::move(throwScope); continue; } - zv::Val merged = pt_mutating_scope_merge_with(Z_OBJ_P(mergedScope.raw()), throwScope); + zv::Val merged = pt_mutating_scope_merge_with(Z_OBJ_P(mergedScope.raw()), throwScope.raw()); if (UNEXPECTED(merged.isUndef())) return zv::Val(); mergedScope = std::move(merged); } @@ -544,10 +553,9 @@ class TryCatchHandler zv::Val catchScope = zv::Val::null(); for (auto matchingEntry : zv::ArrRef(matchingThrowPoints.raw())) { - zv::Val hold; - zval *matchingScope = pt_internal_throw_point_scope(matchingEntry.value().deref().raw(), hold); - if (UNEXPECTED(matchingScope == NULL)) return zv::Val(); - if (UNEXPECTED(!ptlh::mergeOrTake(catchScope, matchingScope))) return zv::Val(); + zv::Val matchingScope = throwPointScope(matchingEntry.value().deref().raw(), scope); + if (UNEXPECTED(matchingScope.isUndef())) return zv::Val(); + if (UNEXPECTED(!ptlh::mergeOrTake(catchScope, matchingScope.raw()))) return zv::Val(); } zend_string *variableName = NULL; @@ -661,10 +669,9 @@ class TryCatchHandler if (Z_TYPE_P(catchThrowPoints.raw()) == IS_ARRAY) { for (auto throwEntry : zv::ArrRef(catchThrowPoints.raw())) { if (finallyScope.isNull()) continue; - zv::Val hold; - zval *throwScope = pt_internal_throw_point_scope(throwEntry.value().deref().raw(), hold); - if (UNEXPECTED(throwScope == NULL)) return zv::Val(); - zv::Val merged = pt_mutating_scope_merge_with(Z_OBJ_P(finallyScope.raw()), throwScope); + zv::Val throwScope = throwPointScope(throwEntry.value().deref().raw(), scope); + if (UNEXPECTED(throwScope.isUndef())) return zv::Val(); + zv::Val merged = pt_mutating_scope_merge_with(Z_OBJ_P(finallyScope.raw()), throwScope.raw()); if (UNEXPECTED(merged.isUndef())) return zv::Val(); finallyScope = std::move(merged); } @@ -677,10 +684,9 @@ class TryCatchHandler for (auto throwEntry : zv::ArrRef(throwPoints.raw())) { if (finallyScope.isNull()) continue; - zv::Val hold; - zval *throwScope = pt_internal_throw_point_scope(throwEntry.value().deref().raw(), hold); - if (UNEXPECTED(throwScope == NULL)) return zv::Val(); - zv::Val merged = pt_mutating_scope_merge_with(Z_OBJ_P(finallyScope.raw()), throwScope); + zv::Val throwScope = throwPointScope(throwEntry.value().deref().raw(), scope); + if (UNEXPECTED(throwScope.isUndef())) return zv::Val(); + zv::Val merged = pt_mutating_scope_merge_with(Z_OBJ_P(finallyScope.raw()), throwScope.raw()); if (UNEXPECTED(merged.isUndef())) return zv::Val(); finallyScope = std::move(merged); } diff --git a/turbo-ext/src/generated/MutatingScope.h b/turbo-ext/src/generated/MutatingScope.h index 9001bb06ce4..7db7489e0e4 100644 --- a/turbo-ext/src/generated/MutatingScope.h +++ b/turbo-ext/src/generated/MutatingScope.h @@ -225,348 +225,349 @@ inline constexpr char strings[] = "rememberTypes\0" /* 2990 */ "pushInFunctionCall\0" /* 3004 */ "popInFunctionCall\0" /* 3023 */ - "className\0" /* 3041 */ - "isInClassExists\0" /* 3051 */ - "getFunctionCallStack\0" /* 3067 */ - "getFunctionCallStackWithParameters\0" /* 3088 */ - "functionName\0" /* 3123 */ - "isInFunctionExists\0" /* 3136 */ - "classReflection\0" /* 3155 */ - "enterClass\0" /* 3171 */ - "traitReflection\0" /* 3182 */ - "enterTrait\0" /* 3198 */ - "classMethod\0" /* 3209 */ - "PhpParser\\Node\\Stmt\\ClassMethod\0" /* 3221 */ - "templateTypeMap\0" /* 3253 */ - "PHPStan\\Type\\Generic\\TemplateTypeMap\0" /* 3269 */ - "phpDocParameterTypes\0" /* 3306 */ - "phpDocReturnType\0" /* 3327 */ - "throwType\0" /* 3344 */ - "deprecatedDescription\0" /* 3354 */ - "isDeprecated\0" /* 3376 */ - "isInternal\0" /* 3389 */ - "isFinal\0" /* 3400 */ - "isPure\0" /* 3408 */ - "acceptsNamedArguments\0" /* 3415 */ - "asserts\0" /* 3437 */ - "PHPStan\\Reflection\\Assertions\0" /* 3445 */ - "selfOutType\0" /* 3475 */ - "phpDocComment\0" /* 3487 */ - "parameterOutTypes\0" /* 3501 */ - "immediatelyInvokedCallableParameters\0" /* 3519 */ - "phpDocClosureThisTypeParameters\0" /* 3556 */ - "isConstructor\0" /* 3588 */ - "resolvedPhpDocBlock\0" /* 3602 */ - "PHPStan\\PhpDoc\\ResolvedPhpDocBlock\0" /* 3622 */ - "phpDocPureUnlessCallableIsImpureParameters\0" /* 3657 */ - "phpDocPureUnlessParameterPassedParameters\0" /* 3700 */ - "enterClassMethod\0" /* 3742 */ - "hook\0" /* 3759 */ - "PhpParser\\Node\\PropertyHook\0" /* 3764 */ - "propertyName\0" /* 3792 */ - "nativePropertyTypeNode\0" /* 3805 */ - "PhpParser\\Node\\Identifier|PhpParser\\Node\\Name|PhpParser\\Node\\ComplexType\0" /* 3828 */ - "phpDocPropertyType\0" /* 3901 */ - "enterPropertyHook\0" /* 3920 */ - "type\0" /* 3938 */ - "transformStaticType\0" /* 3943 */ - "functionLike\0" /* 3963 */ - "PhpParser\\Node\\FunctionLike\0" /* 3976 */ - "getRealParameterTypes\0" /* 4004 */ - "getRealParameterDefaultValues\0" /* 4026 */ - "PhpParser\\Node\\Stmt\\ClassMethod|PhpParser\\Node\\Stmt\\Function_|PhpParser\\Node\\PropertyHook\0" /* 4056 */ - "getParameterAttributes\0" /* 4146 */ - "PhpParser\\Node\\Stmt\\Function_\0" /* 4169 */ - "pureUnlessCallableIsImpureParameters\0" /* 4199 */ - "pureUnlessParameterPassedParameters\0" /* 4236 */ - "enterFunction\0" /* 4272 */ - "functionReflection\0" /* 4286 */ - "preserveConstructorScope\0" /* 4305 */ - "enterFunctionLike\0" /* 4330 */ - "namespaceName\0" /* 4348 */ - "enterNamespace\0" /* 4362 */ - "thisType\0" /* 4377 */ - "nativeThisType\0" /* 4386 */ - "scopeClasses\0" /* 4401 */ - "enterClosureBind\0" /* 4414 */ - "originalScope\0" /* 4431 */ - "restoreOriginalScopeAfterClosureBind\0" /* 4445 */ - "restoreThisScope\0" /* 4482 */ - "restoreThis\0" /* 4499 */ - "enterClosureCall\0" /* 4511 */ - "isInClosureBind\0" /* 4528 */ - "withClosureBindScopeClasses\0" /* 4544 */ - "closure\0" /* 4572 */ - "PhpParser\\Node\\Expr\\Closure\0" /* 4580 */ - "callableParameters\0" /* 4608 */ - "nativeCallableParameters\0" /* 4627 */ - "enterAnonymousFunction\0" /* 4652 */ - "enterAnonymousFunctionWithoutReflection\0" /* 4675 */ - "typeHolder\0" /* 4715 */ - "PHPStan\\Analyser\\ExpressionTypeHolder\0" /* 4726 */ - "expressionTypeIsUnchangeable\0" /* 4764 */ - "invalidateStaticExpressions\0" /* 4793 */ - "arrowFunction\0" /* 4821 */ - "PhpParser\\Node\\Expr\\ArrowFunction\0" /* 4835 */ - "enterArrowFunction\0" /* 4869 */ - "enterArrowFunctionWithoutReflection\0" /* 4888 */ - "PhpParser\\Node\\Param\0" /* 4924 */ - "isParameterValueNullable\0" /* 4945 */ - "isNullable\0" /* 4970 */ - "isVariadic\0" /* 4981 */ - "getFunctionType\0" /* 4992 */ - "index\0" /* 5008 */ - "getCallableParameterType\0" /* 5014 */ - "startIndex\0" /* 5039 */ - "buildVariadicArrayTypeFromCallableParameters\0" /* 5050 */ - "nativeType\0" /* 5095 */ - "inferredType\0" /* 5106 */ - "intersectButNotNever\0" /* 5119 */ - "PhpParser\\Node\\Expr\\Match_\0" /* 5140 */ - "condType\0" /* 5167 */ - "condNativeType\0" /* 5176 */ - "enterMatch\0" /* 5191 */ - "iteratee\0" /* 5202 */ - "iterateeType\0" /* 5211 */ - "nativeIterateeType\0" /* 5224 */ - "valueName\0" /* 5243 */ - "keyName\0" /* 5253 */ - "valueByRef\0" /* 5261 */ - "enterForeach\0" /* 5272 */ - "enterForeachKey\0" /* 5285 */ - "catchType\0" /* 5301 */ - "enterCatchType\0" /* 5311 */ - "isPlainWrite\0" /* 5326 */ - "enterExpressionAssign\0" /* 5339 */ - "exitExpressionAssign\0" /* 5361 */ - "isInExpressionAssign\0" /* 5382 */ - "isInWriteExpressionAssign\0" /* 5403 */ - "setAllowedUndefinedExpression\0" /* 5429 */ - "unsetAllowedUndefinedExpression\0" /* 5459 */ - "isUndefinedExpressionAllowed\0" /* 5491 */ - "certainty\0" /* 5520 */ - "intertwinedPropagatedFrom\0" /* 5530 */ - "assignVariable\0" /* 5556 */ - "overwriteExpression\0" /* 5571 */ - "scope\0" /* 5591 */ - "rootType\0" /* 5597 */ - "assignedExpr\0" /* 5606 */ - "rootVariableName\0" /* 5619 */ - "native\0" /* 5636 */ - "resolveIntertwinedAssignedType\0" /* 5643 */ - "dimFetch\0" /* 5674 */ - "PhpParser\\Node\\Expr\\ArrayDimFetch\0" /* 5683 */ - "isDimFetchPathReachable\0" /* 5717 */ - "unsetExpression\0" /* 5741 */ - "getStateType\0" /* 5757 */ - "getScopeStateType\0" /* 5770 */ - "getScopeStateNativeType\0" /* 5788 */ - "resolveScopeStateType\0" /* 5812 */ - "specifyExpressionType\0" /* 5834 */ - "openSpecificationScope\0" /* 5856 */ - "isSpecifyExpressionTypeNoop\0" /* 5879 */ - "specifyExpressionTypeInPlace\0" /* 5907 */ - "assignExpression\0" /* 5936 */ - "fetchedOnType\0" /* 5953 */ - "assignInitializedProperty\0" /* 5967 */ - "expressionToInvalidate\0" /* 5993 */ - "requireMoreCharacters\0" /* 6016 */ - "invalidatingClass\0" /* 6038 */ - "keepPropertyFetches\0" /* 6056 */ - "preservedPropertyNames\0" /* 6076 */ - "invalidateExpression\0" /* 6099 */ - "assignObjectAlias\0" /* 6120 */ - "otherExpr\0" /* 6138 */ - "holdsSameObject\0" /* 6148 */ - "aliasedExpr\0" /* 6164 */ - "specifyObjectAlias\0" /* 6176 */ - "getObjectAliasRootVariableName\0" /* 6195 */ - "getObjectAliasEdges\0" /* 6226 */ - "includeSelf\0" /* 6246 */ - "getPropertyFetchChainPrefixes\0" /* 6258 */ - "edges\0" /* 6288 */ - "findObjectAliasClass\0" /* 6294 */ - "findObjectAliasInvalidationTargets\0" /* 6315 */ - "targets\0" /* 6350 */ - "reconnectObjectAliases\0" /* 6358 */ - "invalidateExpressionWithoutAliases\0" /* 6381 */ - "isPrivatePropertyOfDifferentClass\0" /* 6416 */ - "invalidateMethodsOnExpression\0" /* 6450 */ - "setExpressionCertaintyKeepingType\0" /* 6480 */ - "varType\0" /* 6514 */ - "dimType\0" /* 6522 */ - "offsetValueType\0" /* 6530 */ - "removeArraysWithoutOffsetValueType\0" /* 6546 */ - "isComplexUnionType\0" /* 6581 */ - "addTypeToExpression\0" /* 6600 */ - "typeToRemove\0" /* 6620 */ - "removeTypeFromExpression\0" /* 6633 */ - "filterByTruthyValue\0" /* 6658 */ - "filterByFalseyValue\0" /* 6678 */ - "specifiedTypes\0" /* 6698 */ - "applySpecifiedTypes\0" /* 6713 */ - "changedExpressions\0" /* 6733 */ - "respecifyRelationalFacts\0" /* 6752 */ - "applySpecifiedTypesBatch\0" /* 6777 */ - "specifiedExpressions\0" /* 6802 */ - "processConditionalExpressionsAfterSpecifying\0" /* 6823 */ - "getConditionalExpressions\0" /* 6868 */ - "conditionalExpressionHolders\0" /* 6894 */ - "addConditionalExpressions\0" /* 6923 */ - "exitFirstLevelStatements\0" /* 6949 */ - "isInFirstLevelStatement\0" /* 6974 */ - "otherScope\0" /* 6998 */ - "preserveVacuousConditionals\0" /* 7009 */ - "joinsIterations\0" /* 7037 */ - "mergeWith\0" /* 7053 */ - "differingKeys\0" /* 7063 */ - "ourTypes\0" /* 7077 */ - "theirTypes\0" /* 7086 */ - "ourNativeTypes\0" /* 7097 */ - "theirNativeTypes\0" /* 7112 */ - "completeOffsetWriteBases\0" /* 7129 */ - "holder\0" /* 7154 */ - "types\0" /* 7161 */ - "nativeTypes\0" /* 7167 */ - "completeOffsetWriteBase\0" /* 7179 */ - "ours\0" /* 7203 */ - "theirs\0" /* 7208 */ - "collectAbsorbedClosures\0" /* 7215 */ - "mergeWithVariableState\0" /* 7239 */ - "differingExpressionKeys\0" /* 7262 */ - "mergedExpressionTypes\0" /* 7286 */ - "findMergedCallCandidates\0" /* 7308 */ - "call\0" /* 7333 */ - "PhpParser\\Node\\Expr\\FuncCall|PhpParser\\Node\\Expr\\MethodCall|PhpParser\\Node\\Expr\\StaticCall\0" /* 7338 */ - "hasNarrowableArgument\0" /* 7429 */ - "candidates\0" /* 7451 */ - "mergedNativeTypes\0" /* 7462 */ - "findUninformativeMergedCalls\0" /* 7480 */ - "ourExpressionTypes\0" /* 7509 */ - "theirExpressionTypes\0" /* 7528 */ - "withoutPreciseClassConstantFetches\0" /* 7549 */ - "currentConditionalExpressions\0" /* 7584 */ - "sourceConditionalExpressions\0" /* 7614 */ - "otherExpressionTypes\0" /* 7643 */ - "preserveVacuousConditionalExpressions\0" /* 7664 */ - "PHPStan\\Analyser\\ConditionalExpressionHolder\0" /* 7702 */ - "isAboutCall\0" /* 7747 */ - "ourConditionalExpressions\0" /* 7759 */ - "theirConditionalExpressions\0" /* 7785 */ - "mergeSameGuardConditionalExpressions\0" /* 7813 */ - "newConditionalExpressions\0" /* 7850 */ - "existingConditionalExpressions\0" /* 7876 */ - "mergeConditionalExpressions\0" /* 7907 */ - "calledMethodScope\0" /* 7935 */ - "mergeInitializedProperties\0" /* 7953 */ - "finallyScope\0" /* 7980 */ - "originalFinallyScope\0" /* 7993 */ - "processFinallyScope\0" /* 8014 */ - "ourVariableTypeHolders\0" /* 8034 */ - "finallyVariableTypeHolders\0" /* 8057 */ - "originalVariableTypeHolders\0" /* 8084 */ - "processFinallyScopeVariableTypeHolders\0" /* 8112 */ - "closureScope\0" /* 8151 */ - "prevScope\0" /* 8164 */ - "byRefUses\0" /* 8174 */ - "processClosureScope\0" /* 8184 */ - "finalScope\0" /* 8204 */ - "processAlwaysIterableForeachScopeWithoutPollute\0" /* 8215 */ - "writtenVariableNames\0" /* 8263 */ - "forgetLoopWrittenVariables\0" /* 8284 */ - "previousScope\0" /* 8311 */ - "forgetChangedLoopVariables\0" /* 8325 */ - "getChangedVariableNames\0" /* 8352 */ - "previousType\0" /* 8376 */ - "generalizeIteratedType\0" /* 8389 */ - "writableVariableNames\0" /* 8412 */ - "loopEntryScope\0" /* 8434 */ - "generalizeWith\0" /* 8449 */ - "generalizeWithVariableState\0" /* 8464 */ - "generalizedExpressionTypes\0" /* 8492 */ - "withoutWidenedConditionalExpressions\0" /* 8519 */ - "variableTypeHolders\0" /* 8556 */ - "otherVariableTypeHolders\0" /* 8576 */ - "entryVariableTypeHolders\0" /* 8601 */ - "generalizeVariableTypeHolders\0" /* 8626 */ - "flattenUnionForGeneralization\0" /* 8656 */ - "a\0" /* 8686 */ - "b\0" /* 8688 */ - "depth\0" /* 8690 */ - "entryType\0" /* 8696 */ - "generalizeType\0" /* 8706 */ - "entryMin\0" /* 8721 */ - "entryMax\0" /* 8730 */ - "generalizeConstantFloats\0" /* 8739 */ - "allA\0" /* 8764 */ - "allB\0" /* 8769 */ - "generalizeShapesKeyByKey\0" /* 8774 */ - "pairShapes\0" /* 8799 */ - "shape\0" /* 8810 */ - "PHPStan\\Type\\Constant\\ConstantArrayType\0" /* 8816 */ - "getRequiredKeysSignature\0" /* 8856 */ - "getArrayDepth\0" /* 8881 */ - "equals\0" /* 8895 */ - "otherConditionalExpressions\0" /* 8902 */ - "compareConditionalExpressions\0" /* 8930 */ - "compareVariableTypeHolders\0" /* 8960 */ - "propertyReflection\0" /* 8987 */ - "PHPStan\\Reflection\\PropertyReflection\0" /* 9006 */ - "canAccessProperty\0" /* 9044 */ - "PHPStan\\Reflection\\ExtendedPropertyReflection\0" /* 9062 */ - "canReadProperty\0" /* 9108 */ - "canWriteProperty\0" /* 9124 */ - "methodReflection\0" /* 9141 */ - "PHPStan\\Reflection\\MethodReflection\0" /* 9158 */ - "canCallMethod\0" /* 9194 */ - "constantReflection\0" /* 9208 */ - "PHPStan\\Reflection\\ClassConstantReflection\0" /* 9227 */ - "canAccessConstant\0" /* 9270 */ - "classMemberReflection\0" /* 9288 */ - "PHPStan\\Reflection\\ClassMemberReflection\0" /* 9310 */ - "canAccessClassMember\0" /* 9351 */ - "debug\0" /* 9372 */ - "typeWithMethod\0" /* 9378 */ - "methodName\0" /* 9393 */ - "filterTypeWithMethod\0" /* 9404 */ - "PHPStan\\Reflection\\ExtendedMethodReflection\0" /* 9425 */ - "getMethodReflection\0" /* 9469 */ - "getNakedMethod\0" /* 9489 */ - "typeWithProperty\0" /* 9504 */ - "getPropertyReflection\0" /* 9521 */ - "getInstancePropertyReflection\0" /* 9543 */ - "getStaticPropertyReflection\0" /* 9573 */ - "typeWithConstant\0" /* 9601 */ - "constantName\0" /* 9618 */ - "getConstantReflection\0" /* 9631 */ - "constantType\0" /* 9653 */ - "getConstantExplicitTypeFromConfig\0" /* 9666 */ - "getConstantTypes\0" /* 9700 */ - "getGlobalConstantType\0" /* 9717 */ - "nameString\0" /* 9739 */ - "createGlobalConstantFetches\0" /* 9750 */ - "getNativeConstantTypes\0" /* 9778 */ - "getIterableKeyType\0" /* 9801 */ - "getIterableValueType\0" /* 9820 */ - "PHPStan\\Php\\PhpVersions\0" /* 9841 */ - "getPhpVersion\0" /* 9865 */ - "resolvePhpVersion\0" /* 9879 */ - "getConfiguredPhpVersionRange\0" /* 9897 */ - "isOverallPhpVersionRange\0" /* 9926 */ - "PhpParser\\Node\0" /* 9951 */ - "invokeNodeCallback\0" /* 9966 */ - "collectorType\0" /* 9985 */ - "data\0" /* 9999 */ - "emitCollectedData\0" /* 10004 */ - "extensionClass\0" /* 10022 */ - "trackValueDependency\0" /* 10037 */ - "file\0" /* 10058 */ - "trackFileDependency\0" /* 10063 */ - "directory\0" /* 10083 */ - "pattern\0" /* 10093 */ - "'*'\0" /* 10101 */ - "trackDirectoryDependency\0" /* 10105 */ - "trackClassDependency"; /* 10130 */ + "scope\0" /* 3041 */ + "withFunctionCallStackOf\0" /* 3047 */ + "className\0" /* 3071 */ + "isInClassExists\0" /* 3081 */ + "getFunctionCallStack\0" /* 3097 */ + "getFunctionCallStackWithParameters\0" /* 3118 */ + "functionName\0" /* 3153 */ + "isInFunctionExists\0" /* 3166 */ + "classReflection\0" /* 3185 */ + "enterClass\0" /* 3201 */ + "traitReflection\0" /* 3212 */ + "enterTrait\0" /* 3228 */ + "classMethod\0" /* 3239 */ + "PhpParser\\Node\\Stmt\\ClassMethod\0" /* 3251 */ + "templateTypeMap\0" /* 3283 */ + "PHPStan\\Type\\Generic\\TemplateTypeMap\0" /* 3299 */ + "phpDocParameterTypes\0" /* 3336 */ + "phpDocReturnType\0" /* 3357 */ + "throwType\0" /* 3374 */ + "deprecatedDescription\0" /* 3384 */ + "isDeprecated\0" /* 3406 */ + "isInternal\0" /* 3419 */ + "isFinal\0" /* 3430 */ + "isPure\0" /* 3438 */ + "acceptsNamedArguments\0" /* 3445 */ + "asserts\0" /* 3467 */ + "PHPStan\\Reflection\\Assertions\0" /* 3475 */ + "selfOutType\0" /* 3505 */ + "phpDocComment\0" /* 3517 */ + "parameterOutTypes\0" /* 3531 */ + "immediatelyInvokedCallableParameters\0" /* 3549 */ + "phpDocClosureThisTypeParameters\0" /* 3586 */ + "isConstructor\0" /* 3618 */ + "resolvedPhpDocBlock\0" /* 3632 */ + "PHPStan\\PhpDoc\\ResolvedPhpDocBlock\0" /* 3652 */ + "phpDocPureUnlessCallableIsImpureParameters\0" /* 3687 */ + "phpDocPureUnlessParameterPassedParameters\0" /* 3730 */ + "enterClassMethod\0" /* 3772 */ + "hook\0" /* 3789 */ + "PhpParser\\Node\\PropertyHook\0" /* 3794 */ + "propertyName\0" /* 3822 */ + "nativePropertyTypeNode\0" /* 3835 */ + "PhpParser\\Node\\Identifier|PhpParser\\Node\\Name|PhpParser\\Node\\ComplexType\0" /* 3858 */ + "phpDocPropertyType\0" /* 3931 */ + "enterPropertyHook\0" /* 3950 */ + "type\0" /* 3968 */ + "transformStaticType\0" /* 3973 */ + "functionLike\0" /* 3993 */ + "PhpParser\\Node\\FunctionLike\0" /* 4006 */ + "getRealParameterTypes\0" /* 4034 */ + "getRealParameterDefaultValues\0" /* 4056 */ + "PhpParser\\Node\\Stmt\\ClassMethod|PhpParser\\Node\\Stmt\\Function_|PhpParser\\Node\\PropertyHook\0" /* 4086 */ + "getParameterAttributes\0" /* 4176 */ + "PhpParser\\Node\\Stmt\\Function_\0" /* 4199 */ + "pureUnlessCallableIsImpureParameters\0" /* 4229 */ + "pureUnlessParameterPassedParameters\0" /* 4266 */ + "enterFunction\0" /* 4302 */ + "functionReflection\0" /* 4316 */ + "preserveConstructorScope\0" /* 4335 */ + "enterFunctionLike\0" /* 4360 */ + "namespaceName\0" /* 4378 */ + "enterNamespace\0" /* 4392 */ + "thisType\0" /* 4407 */ + "nativeThisType\0" /* 4416 */ + "scopeClasses\0" /* 4431 */ + "enterClosureBind\0" /* 4444 */ + "originalScope\0" /* 4461 */ + "restoreOriginalScopeAfterClosureBind\0" /* 4475 */ + "restoreThisScope\0" /* 4512 */ + "restoreThis\0" /* 4529 */ + "enterClosureCall\0" /* 4541 */ + "isInClosureBind\0" /* 4558 */ + "withClosureBindScopeClasses\0" /* 4574 */ + "closure\0" /* 4602 */ + "PhpParser\\Node\\Expr\\Closure\0" /* 4610 */ + "callableParameters\0" /* 4638 */ + "nativeCallableParameters\0" /* 4657 */ + "enterAnonymousFunction\0" /* 4682 */ + "enterAnonymousFunctionWithoutReflection\0" /* 4705 */ + "typeHolder\0" /* 4745 */ + "PHPStan\\Analyser\\ExpressionTypeHolder\0" /* 4756 */ + "expressionTypeIsUnchangeable\0" /* 4794 */ + "invalidateStaticExpressions\0" /* 4823 */ + "arrowFunction\0" /* 4851 */ + "PhpParser\\Node\\Expr\\ArrowFunction\0" /* 4865 */ + "enterArrowFunction\0" /* 4899 */ + "enterArrowFunctionWithoutReflection\0" /* 4918 */ + "PhpParser\\Node\\Param\0" /* 4954 */ + "isParameterValueNullable\0" /* 4975 */ + "isNullable\0" /* 5000 */ + "isVariadic\0" /* 5011 */ + "getFunctionType\0" /* 5022 */ + "index\0" /* 5038 */ + "getCallableParameterType\0" /* 5044 */ + "startIndex\0" /* 5069 */ + "buildVariadicArrayTypeFromCallableParameters\0" /* 5080 */ + "nativeType\0" /* 5125 */ + "inferredType\0" /* 5136 */ + "intersectButNotNever\0" /* 5149 */ + "PhpParser\\Node\\Expr\\Match_\0" /* 5170 */ + "condType\0" /* 5197 */ + "condNativeType\0" /* 5206 */ + "enterMatch\0" /* 5221 */ + "iteratee\0" /* 5232 */ + "iterateeType\0" /* 5241 */ + "nativeIterateeType\0" /* 5254 */ + "valueName\0" /* 5273 */ + "keyName\0" /* 5283 */ + "valueByRef\0" /* 5291 */ + "enterForeach\0" /* 5302 */ + "enterForeachKey\0" /* 5315 */ + "catchType\0" /* 5331 */ + "enterCatchType\0" /* 5341 */ + "isPlainWrite\0" /* 5356 */ + "enterExpressionAssign\0" /* 5369 */ + "exitExpressionAssign\0" /* 5391 */ + "isInExpressionAssign\0" /* 5412 */ + "isInWriteExpressionAssign\0" /* 5433 */ + "setAllowedUndefinedExpression\0" /* 5459 */ + "unsetAllowedUndefinedExpression\0" /* 5489 */ + "isUndefinedExpressionAllowed\0" /* 5521 */ + "certainty\0" /* 5550 */ + "intertwinedPropagatedFrom\0" /* 5560 */ + "assignVariable\0" /* 5586 */ + "overwriteExpression\0" /* 5601 */ + "rootType\0" /* 5621 */ + "assignedExpr\0" /* 5630 */ + "rootVariableName\0" /* 5643 */ + "native\0" /* 5660 */ + "resolveIntertwinedAssignedType\0" /* 5667 */ + "dimFetch\0" /* 5698 */ + "PhpParser\\Node\\Expr\\ArrayDimFetch\0" /* 5707 */ + "isDimFetchPathReachable\0" /* 5741 */ + "unsetExpression\0" /* 5765 */ + "getStateType\0" /* 5781 */ + "getScopeStateType\0" /* 5794 */ + "getScopeStateNativeType\0" /* 5812 */ + "resolveScopeStateType\0" /* 5836 */ + "specifyExpressionType\0" /* 5858 */ + "openSpecificationScope\0" /* 5880 */ + "isSpecifyExpressionTypeNoop\0" /* 5903 */ + "specifyExpressionTypeInPlace\0" /* 5931 */ + "assignExpression\0" /* 5960 */ + "fetchedOnType\0" /* 5977 */ + "assignInitializedProperty\0" /* 5991 */ + "expressionToInvalidate\0" /* 6017 */ + "requireMoreCharacters\0" /* 6040 */ + "invalidatingClass\0" /* 6062 */ + "keepPropertyFetches\0" /* 6080 */ + "preservedPropertyNames\0" /* 6100 */ + "invalidateExpression\0" /* 6123 */ + "assignObjectAlias\0" /* 6144 */ + "otherExpr\0" /* 6162 */ + "holdsSameObject\0" /* 6172 */ + "aliasedExpr\0" /* 6188 */ + "specifyObjectAlias\0" /* 6200 */ + "getObjectAliasRootVariableName\0" /* 6219 */ + "getObjectAliasEdges\0" /* 6250 */ + "includeSelf\0" /* 6270 */ + "getPropertyFetchChainPrefixes\0" /* 6282 */ + "edges\0" /* 6312 */ + "findObjectAliasClass\0" /* 6318 */ + "findObjectAliasInvalidationTargets\0" /* 6339 */ + "targets\0" /* 6374 */ + "reconnectObjectAliases\0" /* 6382 */ + "invalidateExpressionWithoutAliases\0" /* 6405 */ + "isPrivatePropertyOfDifferentClass\0" /* 6440 */ + "invalidateMethodsOnExpression\0" /* 6474 */ + "setExpressionCertaintyKeepingType\0" /* 6504 */ + "varType\0" /* 6538 */ + "dimType\0" /* 6546 */ + "offsetValueType\0" /* 6554 */ + "removeArraysWithoutOffsetValueType\0" /* 6570 */ + "isComplexUnionType\0" /* 6605 */ + "addTypeToExpression\0" /* 6624 */ + "typeToRemove\0" /* 6644 */ + "removeTypeFromExpression\0" /* 6657 */ + "filterByTruthyValue\0" /* 6682 */ + "filterByFalseyValue\0" /* 6702 */ + "specifiedTypes\0" /* 6722 */ + "applySpecifiedTypes\0" /* 6737 */ + "changedExpressions\0" /* 6757 */ + "respecifyRelationalFacts\0" /* 6776 */ + "applySpecifiedTypesBatch\0" /* 6801 */ + "specifiedExpressions\0" /* 6826 */ + "processConditionalExpressionsAfterSpecifying\0" /* 6847 */ + "getConditionalExpressions\0" /* 6892 */ + "conditionalExpressionHolders\0" /* 6918 */ + "addConditionalExpressions\0" /* 6947 */ + "exitFirstLevelStatements\0" /* 6973 */ + "isInFirstLevelStatement\0" /* 6998 */ + "otherScope\0" /* 7022 */ + "preserveVacuousConditionals\0" /* 7033 */ + "joinsIterations\0" /* 7061 */ + "mergeWith\0" /* 7077 */ + "differingKeys\0" /* 7087 */ + "ourTypes\0" /* 7101 */ + "theirTypes\0" /* 7110 */ + "ourNativeTypes\0" /* 7121 */ + "theirNativeTypes\0" /* 7136 */ + "completeOffsetWriteBases\0" /* 7153 */ + "holder\0" /* 7178 */ + "types\0" /* 7185 */ + "nativeTypes\0" /* 7191 */ + "completeOffsetWriteBase\0" /* 7203 */ + "ours\0" /* 7227 */ + "theirs\0" /* 7232 */ + "collectAbsorbedClosures\0" /* 7239 */ + "mergeWithVariableState\0" /* 7263 */ + "differingExpressionKeys\0" /* 7286 */ + "mergedExpressionTypes\0" /* 7310 */ + "findMergedCallCandidates\0" /* 7332 */ + "call\0" /* 7357 */ + "PhpParser\\Node\\Expr\\FuncCall|PhpParser\\Node\\Expr\\MethodCall|PhpParser\\Node\\Expr\\StaticCall\0" /* 7362 */ + "hasNarrowableArgument\0" /* 7453 */ + "candidates\0" /* 7475 */ + "mergedNativeTypes\0" /* 7486 */ + "findUninformativeMergedCalls\0" /* 7504 */ + "ourExpressionTypes\0" /* 7533 */ + "theirExpressionTypes\0" /* 7552 */ + "withoutPreciseClassConstantFetches\0" /* 7573 */ + "currentConditionalExpressions\0" /* 7608 */ + "sourceConditionalExpressions\0" /* 7638 */ + "otherExpressionTypes\0" /* 7667 */ + "preserveVacuousConditionalExpressions\0" /* 7688 */ + "PHPStan\\Analyser\\ConditionalExpressionHolder\0" /* 7726 */ + "isAboutCall\0" /* 7771 */ + "ourConditionalExpressions\0" /* 7783 */ + "theirConditionalExpressions\0" /* 7809 */ + "mergeSameGuardConditionalExpressions\0" /* 7837 */ + "newConditionalExpressions\0" /* 7874 */ + "existingConditionalExpressions\0" /* 7900 */ + "mergeConditionalExpressions\0" /* 7931 */ + "calledMethodScope\0" /* 7959 */ + "mergeInitializedProperties\0" /* 7977 */ + "finallyScope\0" /* 8004 */ + "originalFinallyScope\0" /* 8017 */ + "processFinallyScope\0" /* 8038 */ + "ourVariableTypeHolders\0" /* 8058 */ + "finallyVariableTypeHolders\0" /* 8081 */ + "originalVariableTypeHolders\0" /* 8108 */ + "processFinallyScopeVariableTypeHolders\0" /* 8136 */ + "closureScope\0" /* 8175 */ + "prevScope\0" /* 8188 */ + "byRefUses\0" /* 8198 */ + "processClosureScope\0" /* 8208 */ + "finalScope\0" /* 8228 */ + "processAlwaysIterableForeachScopeWithoutPollute\0" /* 8239 */ + "writtenVariableNames\0" /* 8287 */ + "forgetLoopWrittenVariables\0" /* 8308 */ + "previousScope\0" /* 8335 */ + "forgetChangedLoopVariables\0" /* 8349 */ + "getChangedVariableNames\0" /* 8376 */ + "previousType\0" /* 8400 */ + "generalizeIteratedType\0" /* 8413 */ + "writableVariableNames\0" /* 8436 */ + "loopEntryScope\0" /* 8458 */ + "generalizeWith\0" /* 8473 */ + "generalizeWithVariableState\0" /* 8488 */ + "generalizedExpressionTypes\0" /* 8516 */ + "withoutWidenedConditionalExpressions\0" /* 8543 */ + "variableTypeHolders\0" /* 8580 */ + "otherVariableTypeHolders\0" /* 8600 */ + "entryVariableTypeHolders\0" /* 8625 */ + "generalizeVariableTypeHolders\0" /* 8650 */ + "flattenUnionForGeneralization\0" /* 8680 */ + "a\0" /* 8710 */ + "b\0" /* 8712 */ + "depth\0" /* 8714 */ + "entryType\0" /* 8720 */ + "generalizeType\0" /* 8730 */ + "entryMin\0" /* 8745 */ + "entryMax\0" /* 8754 */ + "generalizeConstantFloats\0" /* 8763 */ + "allA\0" /* 8788 */ + "allB\0" /* 8793 */ + "generalizeShapesKeyByKey\0" /* 8798 */ + "pairShapes\0" /* 8823 */ + "shape\0" /* 8834 */ + "PHPStan\\Type\\Constant\\ConstantArrayType\0" /* 8840 */ + "getRequiredKeysSignature\0" /* 8880 */ + "getArrayDepth\0" /* 8905 */ + "equals\0" /* 8919 */ + "otherConditionalExpressions\0" /* 8926 */ + "compareConditionalExpressions\0" /* 8954 */ + "compareVariableTypeHolders\0" /* 8984 */ + "propertyReflection\0" /* 9011 */ + "PHPStan\\Reflection\\PropertyReflection\0" /* 9030 */ + "canAccessProperty\0" /* 9068 */ + "PHPStan\\Reflection\\ExtendedPropertyReflection\0" /* 9086 */ + "canReadProperty\0" /* 9132 */ + "canWriteProperty\0" /* 9148 */ + "methodReflection\0" /* 9165 */ + "PHPStan\\Reflection\\MethodReflection\0" /* 9182 */ + "canCallMethod\0" /* 9218 */ + "constantReflection\0" /* 9232 */ + "PHPStan\\Reflection\\ClassConstantReflection\0" /* 9251 */ + "canAccessConstant\0" /* 9294 */ + "classMemberReflection\0" /* 9312 */ + "PHPStan\\Reflection\\ClassMemberReflection\0" /* 9334 */ + "canAccessClassMember\0" /* 9375 */ + "debug\0" /* 9396 */ + "typeWithMethod\0" /* 9402 */ + "methodName\0" /* 9417 */ + "filterTypeWithMethod\0" /* 9428 */ + "PHPStan\\Reflection\\ExtendedMethodReflection\0" /* 9449 */ + "getMethodReflection\0" /* 9493 */ + "getNakedMethod\0" /* 9513 */ + "typeWithProperty\0" /* 9528 */ + "getPropertyReflection\0" /* 9545 */ + "getInstancePropertyReflection\0" /* 9567 */ + "getStaticPropertyReflection\0" /* 9597 */ + "typeWithConstant\0" /* 9625 */ + "constantName\0" /* 9642 */ + "getConstantReflection\0" /* 9655 */ + "constantType\0" /* 9677 */ + "getConstantExplicitTypeFromConfig\0" /* 9690 */ + "getConstantTypes\0" /* 9724 */ + "getGlobalConstantType\0" /* 9741 */ + "nameString\0" /* 9763 */ + "createGlobalConstantFetches\0" /* 9774 */ + "getNativeConstantTypes\0" /* 9802 */ + "getIterableKeyType\0" /* 9825 */ + "getIterableValueType\0" /* 9844 */ + "PHPStan\\Php\\PhpVersions\0" /* 9865 */ + "getPhpVersion\0" /* 9889 */ + "resolvePhpVersion\0" /* 9903 */ + "getConfiguredPhpVersionRange\0" /* 9921 */ + "isOverallPhpVersionRange\0" /* 9950 */ + "PhpParser\\Node\0" /* 9975 */ + "invokeNodeCallback\0" /* 9990 */ + "collectorType\0" /* 10009 */ + "data\0" /* 10023 */ + "emitCollectedData\0" /* 10028 */ + "extensionClass\0" /* 10046 */ + "trackValueDependency\0" /* 10061 */ + "file\0" /* 10082 */ + "trackFileDependency\0" /* 10087 */ + "directory\0" /* 10107 */ + "pattern\0" /* 10117 */ + "'*'\0" /* 10125 */ + "trackDirectoryDependency\0" /* 10129 */ + "trackClassDependency"; /* 10154 */ inline constexpr reg::PackedArg args[] = { reg::packed(0, 0, 9), /* __construct $services */ reg::packed(40, 0, 53), /* __construct $scopeFactory */ @@ -719,154 +720,156 @@ inline constexpr reg::PackedArg args[] = { reg::packed(2990, MAY_BE_BOOL), /* pushInFunctionCall $rememberTypes */ reg::packed(738, 0, 523), /* pushInFunctionCall return */ reg::packed(738, 0, 523), /* popInFunctionCall return */ - reg::packed(3041, MAY_BE_STRING), /* isInClassExists $className */ + reg::packed(3041, 0, 523), /* withFunctionCallStackOf $scope */ + reg::packed(738, 0, 523), /* withFunctionCallStackOf return */ + reg::packed(3071, MAY_BE_STRING), /* isInClassExists $className */ reg::packed(738, MAY_BE_BOOL), /* isInClassExists return */ reg::packed(738, MAY_BE_ARRAY), /* getFunctionCallStack return */ reg::packed(738, MAY_BE_ARRAY), /* getFunctionCallStackWithParameters return */ - reg::packed(3123, MAY_BE_STRING), /* isInFunctionExists $functionName */ + reg::packed(3153, MAY_BE_STRING), /* isInFunctionExists $functionName */ reg::packed(738, MAY_BE_BOOL), /* isInFunctionExists return */ - reg::packed(3155, 0, 1065), /* enterClass $classReflection */ + reg::packed(3185, 0, 1065), /* enterClass $classReflection */ reg::packed(738, 0, 523), /* enterClass return */ - reg::packed(3182, 0, 1065), /* enterTrait $traitReflection */ + reg::packed(3212, 0, 1065), /* enterTrait $traitReflection */ reg::packed(738, 0, 523), /* enterTrait return */ - reg::packed(3209, 0, 3221), /* enterClassMethod $classMethod */ - reg::packed(3253, 0, 3269), /* enterClassMethod $templateTypeMap */ - reg::packed(3306, MAY_BE_ARRAY), /* enterClassMethod $phpDocParameterTypes */ - reg::packed(3327, MAY_BE_NULL, 1454), /* enterClassMethod $phpDocReturnType */ - reg::packed(3344, MAY_BE_NULL, 1454), /* enterClassMethod $throwType */ - reg::packed(3354, MAY_BE_NULL | MAY_BE_STRING), /* enterClassMethod $deprecatedDescription */ - reg::packed(3376, MAY_BE_BOOL), /* enterClassMethod $isDeprecated */ - reg::packed(3389, MAY_BE_BOOL), /* enterClassMethod $isInternal */ - reg::packed(3400, MAY_BE_BOOL), /* enterClassMethod $isFinal */ - reg::packed(3408, MAY_BE_NULL | MAY_BE_BOOL, reg::NoString, false, false, 222), /* enterClassMethod $isPure */ - reg::packed(3415, MAY_BE_BOOL, reg::NoString, false, false, 402), /* enterClassMethod $acceptsNamedArguments */ - reg::packed(3437, MAY_BE_NULL, 3445, false, false, 222), /* enterClassMethod $asserts */ - reg::packed(3475, MAY_BE_NULL, 1454, false, false, 222), /* enterClassMethod $selfOutType */ - reg::packed(3487, MAY_BE_NULL | MAY_BE_STRING, reg::NoString, false, false, 222), /* enterClassMethod $phpDocComment */ - reg::packed(3501, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterClassMethod $parameterOutTypes */ - reg::packed(3519, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterClassMethod $immediatelyInvokedCallableParameters */ - reg::packed(3556, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterClassMethod $phpDocClosureThisTypeParameters */ - reg::packed(3588, MAY_BE_BOOL, reg::NoString, false, false, 148), /* enterClassMethod $isConstructor */ - reg::packed(3602, MAY_BE_NULL, 3622, false, false, 222), /* enterClassMethod $resolvedPhpDocBlock */ - reg::packed(3657, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterClassMethod $phpDocPureUnlessCallableIsImpureParameters */ - reg::packed(3700, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterClassMethod $phpDocPureUnlessParameterPassedParameters */ + reg::packed(3239, 0, 3251), /* enterClassMethod $classMethod */ + reg::packed(3283, 0, 3299), /* enterClassMethod $templateTypeMap */ + reg::packed(3336, MAY_BE_ARRAY), /* enterClassMethod $phpDocParameterTypes */ + reg::packed(3357, MAY_BE_NULL, 1454), /* enterClassMethod $phpDocReturnType */ + reg::packed(3374, MAY_BE_NULL, 1454), /* enterClassMethod $throwType */ + reg::packed(3384, MAY_BE_NULL | MAY_BE_STRING), /* enterClassMethod $deprecatedDescription */ + reg::packed(3406, MAY_BE_BOOL), /* enterClassMethod $isDeprecated */ + reg::packed(3419, MAY_BE_BOOL), /* enterClassMethod $isInternal */ + reg::packed(3430, MAY_BE_BOOL), /* enterClassMethod $isFinal */ + reg::packed(3438, MAY_BE_NULL | MAY_BE_BOOL, reg::NoString, false, false, 222), /* enterClassMethod $isPure */ + reg::packed(3445, MAY_BE_BOOL, reg::NoString, false, false, 402), /* enterClassMethod $acceptsNamedArguments */ + reg::packed(3467, MAY_BE_NULL, 3475, false, false, 222), /* enterClassMethod $asserts */ + reg::packed(3505, MAY_BE_NULL, 1454, false, false, 222), /* enterClassMethod $selfOutType */ + reg::packed(3517, MAY_BE_NULL | MAY_BE_STRING, reg::NoString, false, false, 222), /* enterClassMethod $phpDocComment */ + reg::packed(3531, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterClassMethod $parameterOutTypes */ + reg::packed(3549, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterClassMethod $immediatelyInvokedCallableParameters */ + reg::packed(3586, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterClassMethod $phpDocClosureThisTypeParameters */ + reg::packed(3618, MAY_BE_BOOL, reg::NoString, false, false, 148), /* enterClassMethod $isConstructor */ + reg::packed(3632, MAY_BE_NULL, 3652, false, false, 222), /* enterClassMethod $resolvedPhpDocBlock */ + reg::packed(3687, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterClassMethod $phpDocPureUnlessCallableIsImpureParameters */ + reg::packed(3730, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterClassMethod $phpDocPureUnlessParameterPassedParameters */ reg::packed(738, 0, 523), /* enterClassMethod return */ - reg::packed(3759, 0, 3764), /* enterPropertyHook $hook */ - reg::packed(3792, MAY_BE_STRING), /* enterPropertyHook $propertyName */ - reg::packed(3805, MAY_BE_NULL, 3828), /* enterPropertyHook $nativePropertyTypeNode */ - reg::packed(3901, MAY_BE_NULL, 1454), /* enterPropertyHook $phpDocPropertyType */ - reg::packed(3306, MAY_BE_ARRAY), /* enterPropertyHook $phpDocParameterTypes */ - reg::packed(3344, MAY_BE_NULL, 1454), /* enterPropertyHook $throwType */ - reg::packed(3354, MAY_BE_NULL | MAY_BE_STRING), /* enterPropertyHook $deprecatedDescription */ - reg::packed(3376, MAY_BE_BOOL), /* enterPropertyHook $isDeprecated */ - reg::packed(3408, MAY_BE_NULL | MAY_BE_BOOL), /* enterPropertyHook $isPure */ - reg::packed(3487, MAY_BE_NULL | MAY_BE_STRING), /* enterPropertyHook $phpDocComment */ - reg::packed(3602, MAY_BE_NULL, 3622, false, false, 222), /* enterPropertyHook $resolvedPhpDocBlock */ + reg::packed(3789, 0, 3794), /* enterPropertyHook $hook */ + reg::packed(3822, MAY_BE_STRING), /* enterPropertyHook $propertyName */ + reg::packed(3835, MAY_BE_NULL, 3858), /* enterPropertyHook $nativePropertyTypeNode */ + reg::packed(3931, MAY_BE_NULL, 1454), /* enterPropertyHook $phpDocPropertyType */ + reg::packed(3336, MAY_BE_ARRAY), /* enterPropertyHook $phpDocParameterTypes */ + reg::packed(3374, MAY_BE_NULL, 1454), /* enterPropertyHook $throwType */ + reg::packed(3384, MAY_BE_NULL | MAY_BE_STRING), /* enterPropertyHook $deprecatedDescription */ + reg::packed(3406, MAY_BE_BOOL), /* enterPropertyHook $isDeprecated */ + reg::packed(3438, MAY_BE_NULL | MAY_BE_BOOL), /* enterPropertyHook $isPure */ + reg::packed(3517, MAY_BE_NULL | MAY_BE_STRING), /* enterPropertyHook $phpDocComment */ + reg::packed(3632, MAY_BE_NULL, 3652, false, false, 222), /* enterPropertyHook $resolvedPhpDocBlock */ reg::packed(738, 0, 523), /* enterPropertyHook return */ - reg::packed(3938, 0, 1454), /* transformStaticType $type */ + reg::packed(3968, 0, 1454), /* transformStaticType $type */ reg::packed(738, 0, 1454), /* transformStaticType return */ - reg::packed(3963, 0, 3976), /* getRealParameterTypes $functionLike */ + reg::packed(3993, 0, 4006), /* getRealParameterTypes $functionLike */ reg::packed(738, MAY_BE_ARRAY), /* getRealParameterTypes return */ - reg::packed(3963, 0, 3976), /* getRealParameterDefaultValues $functionLike */ + reg::packed(3993, 0, 4006), /* getRealParameterDefaultValues $functionLike */ reg::packed(738, MAY_BE_ARRAY), /* getRealParameterDefaultValues return */ - reg::packed(3963, 0, 4056), /* getParameterAttributes $functionLike */ + reg::packed(3993, 0, 4086), /* getParameterAttributes $functionLike */ reg::packed(738, MAY_BE_ARRAY), /* getParameterAttributes return */ - reg::packed(154, 0, 4169), /* enterFunction $function */ - reg::packed(3253, 0, 3269), /* enterFunction $templateTypeMap */ - reg::packed(3306, MAY_BE_ARRAY), /* enterFunction $phpDocParameterTypes */ - reg::packed(3327, MAY_BE_NULL, 1454), /* enterFunction $phpDocReturnType */ - reg::packed(3344, MAY_BE_NULL, 1454), /* enterFunction $throwType */ - reg::packed(3354, MAY_BE_NULL | MAY_BE_STRING), /* enterFunction $deprecatedDescription */ - reg::packed(3376, MAY_BE_BOOL), /* enterFunction $isDeprecated */ - reg::packed(3389, MAY_BE_BOOL), /* enterFunction $isInternal */ - reg::packed(3408, MAY_BE_NULL | MAY_BE_BOOL, reg::NoString, false, false, 222), /* enterFunction $isPure */ - reg::packed(3415, MAY_BE_BOOL, reg::NoString, false, false, 402), /* enterFunction $acceptsNamedArguments */ - reg::packed(3437, MAY_BE_NULL, 3445, false, false, 222), /* enterFunction $asserts */ - reg::packed(3487, MAY_BE_NULL | MAY_BE_STRING, reg::NoString, false, false, 222), /* enterFunction $phpDocComment */ - reg::packed(3501, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterFunction $parameterOutTypes */ - reg::packed(3519, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterFunction $immediatelyInvokedCallableParameters */ - reg::packed(3556, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterFunction $phpDocClosureThisTypeParameters */ - reg::packed(4199, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterFunction $pureUnlessCallableIsImpureParameters */ - reg::packed(4236, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterFunction $pureUnlessParameterPassedParameters */ + reg::packed(154, 0, 4199), /* enterFunction $function */ + reg::packed(3283, 0, 3299), /* enterFunction $templateTypeMap */ + reg::packed(3336, MAY_BE_ARRAY), /* enterFunction $phpDocParameterTypes */ + reg::packed(3357, MAY_BE_NULL, 1454), /* enterFunction $phpDocReturnType */ + reg::packed(3374, MAY_BE_NULL, 1454), /* enterFunction $throwType */ + reg::packed(3384, MAY_BE_NULL | MAY_BE_STRING), /* enterFunction $deprecatedDescription */ + reg::packed(3406, MAY_BE_BOOL), /* enterFunction $isDeprecated */ + reg::packed(3419, MAY_BE_BOOL), /* enterFunction $isInternal */ + reg::packed(3438, MAY_BE_NULL | MAY_BE_BOOL, reg::NoString, false, false, 222), /* enterFunction $isPure */ + reg::packed(3445, MAY_BE_BOOL, reg::NoString, false, false, 402), /* enterFunction $acceptsNamedArguments */ + reg::packed(3467, MAY_BE_NULL, 3475, false, false, 222), /* enterFunction $asserts */ + reg::packed(3517, MAY_BE_NULL | MAY_BE_STRING, reg::NoString, false, false, 222), /* enterFunction $phpDocComment */ + reg::packed(3531, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterFunction $parameterOutTypes */ + reg::packed(3549, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterFunction $immediatelyInvokedCallableParameters */ + reg::packed(3586, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterFunction $phpDocClosureThisTypeParameters */ + reg::packed(4229, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterFunction $pureUnlessCallableIsImpureParameters */ + reg::packed(4266, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* enterFunction $pureUnlessParameterPassedParameters */ reg::packed(738, 0, 523), /* enterFunction return */ - reg::packed(4286, 0, 163), /* enterFunctionLike $functionReflection */ - reg::packed(4305, MAY_BE_BOOL), /* enterFunctionLike $preserveConstructorScope */ + reg::packed(4316, 0, 163), /* enterFunctionLike $functionReflection */ + reg::packed(4335, MAY_BE_BOOL), /* enterFunctionLike $preserveConstructorScope */ reg::packed(738, 0, 523), /* enterFunctionLike return */ - reg::packed(4348, MAY_BE_STRING), /* enterNamespace $namespaceName */ + reg::packed(4378, MAY_BE_STRING), /* enterNamespace $namespaceName */ reg::packed(738, 0, 523), /* enterNamespace return */ - reg::packed(4377, MAY_BE_NULL, 1454), /* enterClosureBind $thisType */ - reg::packed(4386, MAY_BE_NULL, 1454), /* enterClosureBind $nativeThisType */ - reg::packed(4401, MAY_BE_ARRAY), /* enterClosureBind $scopeClasses */ + reg::packed(4407, MAY_BE_NULL, 1454), /* enterClosureBind $thisType */ + reg::packed(4416, MAY_BE_NULL, 1454), /* enterClosureBind $nativeThisType */ + reg::packed(4431, MAY_BE_ARRAY), /* enterClosureBind $scopeClasses */ reg::packed(738, 0, 523), /* enterClosureBind return */ - reg::packed(4431, 0, 523), /* restoreOriginalScopeAfterClosureBind $originalScope */ + reg::packed(4461, 0, 523), /* restoreOriginalScopeAfterClosureBind $originalScope */ reg::packed(738, 0, 523), /* restoreOriginalScopeAfterClosureBind return */ - reg::packed(4482, 0, 523), /* restoreThis $restoreThisScope */ + reg::packed(4512, 0, 523), /* restoreThis $restoreThisScope */ reg::packed(738, 0, 523), /* restoreThis return */ - reg::packed(4377, 0, 1454), /* enterClosureCall $thisType */ - reg::packed(4386, 0, 1454), /* enterClosureCall $nativeThisType */ + reg::packed(4407, 0, 1454), /* enterClosureCall $thisType */ + reg::packed(4416, 0, 1454), /* enterClosureCall $nativeThisType */ reg::packed(738, 0, 523), /* enterClosureCall return */ reg::packed(738, MAY_BE_BOOL), /* isInClosureBind return */ - reg::packed(4401, MAY_BE_ARRAY), /* withClosureBindScopeClasses $scopeClasses */ + reg::packed(4431, MAY_BE_ARRAY), /* withClosureBindScopeClasses $scopeClasses */ reg::packed(738, 0, 523), /* withClosureBindScopeClasses return */ - reg::packed(4572, 0, 4580), /* enterAnonymousFunction $closure */ - reg::packed(4608, MAY_BE_NULL | MAY_BE_ARRAY), /* enterAnonymousFunction $callableParameters */ - reg::packed(4627, MAY_BE_NULL | MAY_BE_ARRAY, reg::NoString, false, false, 222), /* enterAnonymousFunction $nativeCallableParameters */ + reg::packed(4602, 0, 4610), /* enterAnonymousFunction $closure */ + reg::packed(4638, MAY_BE_NULL | MAY_BE_ARRAY), /* enterAnonymousFunction $callableParameters */ + reg::packed(4657, MAY_BE_NULL | MAY_BE_ARRAY, reg::NoString, false, false, 222), /* enterAnonymousFunction $nativeCallableParameters */ reg::packed(738, 0, 523), /* enterAnonymousFunction return */ - reg::packed(4572, 0, 4580), /* enterAnonymousFunctionWithoutReflection $closure */ - reg::packed(4608, MAY_BE_NULL | MAY_BE_ARRAY), /* enterAnonymousFunctionWithoutReflection $callableParameters */ - reg::packed(4627, MAY_BE_NULL | MAY_BE_ARRAY), /* enterAnonymousFunctionWithoutReflection $nativeCallableParameters */ + reg::packed(4602, 0, 4610), /* enterAnonymousFunctionWithoutReflection $closure */ + reg::packed(4638, MAY_BE_NULL | MAY_BE_ARRAY), /* enterAnonymousFunctionWithoutReflection $callableParameters */ + reg::packed(4657, MAY_BE_NULL | MAY_BE_ARRAY), /* enterAnonymousFunctionWithoutReflection $nativeCallableParameters */ reg::packed(738, 0, 523), /* enterAnonymousFunctionWithoutReflection return */ - reg::packed(4715, 0, 4726), /* expressionTypeIsUnchangeable $typeHolder */ + reg::packed(4745, 0, 4756), /* expressionTypeIsUnchangeable $typeHolder */ reg::packed(738, MAY_BE_BOOL), /* expressionTypeIsUnchangeable return */ reg::packed(237, MAY_BE_ARRAY), /* invalidateStaticExpressions $expressionTypes */ reg::packed(738, MAY_BE_ARRAY), /* invalidateStaticExpressions return */ - reg::packed(4821, 0, 4835), /* enterArrowFunction $arrowFunction */ - reg::packed(4608, MAY_BE_NULL | MAY_BE_ARRAY), /* enterArrowFunction $callableParameters */ - reg::packed(4627, MAY_BE_NULL | MAY_BE_ARRAY, reg::NoString, false, false, 222), /* enterArrowFunction $nativeCallableParameters */ + reg::packed(4851, 0, 4865), /* enterArrowFunction $arrowFunction */ + reg::packed(4638, MAY_BE_NULL | MAY_BE_ARRAY), /* enterArrowFunction $callableParameters */ + reg::packed(4657, MAY_BE_NULL | MAY_BE_ARRAY, reg::NoString, false, false, 222), /* enterArrowFunction $nativeCallableParameters */ reg::packed(738, 0, 523), /* enterArrowFunction return */ - reg::packed(4821, 0, 4835), /* enterArrowFunctionWithoutReflection $arrowFunction */ - reg::packed(4608, MAY_BE_NULL | MAY_BE_ARRAY), /* enterArrowFunctionWithoutReflection $callableParameters */ - reg::packed(4627, MAY_BE_NULL | MAY_BE_ARRAY), /* enterArrowFunctionWithoutReflection $nativeCallableParameters */ + reg::packed(4851, 0, 4865), /* enterArrowFunctionWithoutReflection $arrowFunction */ + reg::packed(4638, MAY_BE_NULL | MAY_BE_ARRAY), /* enterArrowFunctionWithoutReflection $callableParameters */ + reg::packed(4657, MAY_BE_NULL | MAY_BE_ARRAY), /* enterArrowFunctionWithoutReflection $nativeCallableParameters */ reg::packed(738, 0, 523), /* enterArrowFunctionWithoutReflection return */ - reg::packed(2941, 0, 4924), /* isParameterValueNullable $parameter */ + reg::packed(2941, 0, 4954), /* isParameterValueNullable $parameter */ reg::packed(738, MAY_BE_BOOL), /* isParameterValueNullable return */ - reg::packed(3938, 0), /* getFunctionType $type */ - reg::packed(4970, MAY_BE_BOOL), /* getFunctionType $isNullable */ - reg::packed(4981, MAY_BE_BOOL), /* getFunctionType $isVariadic */ + reg::packed(3968, 0), /* getFunctionType $type */ + reg::packed(5000, MAY_BE_BOOL), /* getFunctionType $isNullable */ + reg::packed(5011, MAY_BE_BOOL), /* getFunctionType $isVariadic */ reg::packed(738, 0, 1454), /* getFunctionType return */ - reg::packed(2941, 0, 4924), /* getCallableParameterType $parameter */ - reg::packed(4608, MAY_BE_ARRAY), /* getCallableParameterType $callableParameters */ - reg::packed(5008, MAY_BE_LONG), /* getCallableParameterType $index */ + reg::packed(2941, 0, 4954), /* getCallableParameterType $parameter */ + reg::packed(4638, MAY_BE_ARRAY), /* getCallableParameterType $callableParameters */ + reg::packed(5038, MAY_BE_LONG), /* getCallableParameterType $index */ reg::packed(738, 0, 1454), /* getCallableParameterType return */ - reg::packed(4608, MAY_BE_ARRAY), /* buildVariadicArrayTypeFromCallableParameters $callableParameters */ - reg::packed(5039, MAY_BE_LONG), /* buildVariadicArrayTypeFromCallableParameters $startIndex */ + reg::packed(4638, MAY_BE_ARRAY), /* buildVariadicArrayTypeFromCallableParameters $callableParameters */ + reg::packed(5069, MAY_BE_LONG), /* buildVariadicArrayTypeFromCallableParameters $startIndex */ reg::packed(738, 0, 1454), /* buildVariadicArrayTypeFromCallableParameters return */ - reg::packed(5095, 0, 1454), /* intersectButNotNever $nativeType */ - reg::packed(5106, 0, 1454), /* intersectButNotNever $inferredType */ + reg::packed(5125, 0, 1454), /* intersectButNotNever $nativeType */ + reg::packed(5136, 0, 1454), /* intersectButNotNever $inferredType */ reg::packed(738, 0, 1454), /* intersectButNotNever return */ - reg::packed(966, 0, 5140), /* enterMatch $expr */ - reg::packed(5167, 0, 1454), /* enterMatch $condType */ - reg::packed(5176, 0, 1454), /* enterMatch $condNativeType */ + reg::packed(966, 0, 5170), /* enterMatch $expr */ + reg::packed(5197, 0, 1454), /* enterMatch $condType */ + reg::packed(5206, 0, 1454), /* enterMatch $condNativeType */ reg::packed(738, 0, 523), /* enterMatch return */ - reg::packed(4431, 0, 523), /* enterForeach $originalScope */ - reg::packed(5202, 0, 1742), /* enterForeach $iteratee */ - reg::packed(5211, 0, 1454), /* enterForeach $iterateeType */ - reg::packed(5224, 0, 1454), /* enterForeach $nativeIterateeType */ - reg::packed(5243, MAY_BE_STRING), /* enterForeach $valueName */ - reg::packed(5253, MAY_BE_NULL | MAY_BE_STRING), /* enterForeach $keyName */ - reg::packed(5261, MAY_BE_BOOL), /* enterForeach $valueByRef */ + reg::packed(4461, 0, 523), /* enterForeach $originalScope */ + reg::packed(5232, 0, 1742), /* enterForeach $iteratee */ + reg::packed(5241, 0, 1454), /* enterForeach $iterateeType */ + reg::packed(5254, 0, 1454), /* enterForeach $nativeIterateeType */ + reg::packed(5273, MAY_BE_STRING), /* enterForeach $valueName */ + reg::packed(5283, MAY_BE_NULL | MAY_BE_STRING), /* enterForeach $keyName */ + reg::packed(5291, MAY_BE_BOOL), /* enterForeach $valueByRef */ reg::packed(738, 0, 523), /* enterForeach return */ - reg::packed(4431, 0, 523), /* enterForeachKey $originalScope */ - reg::packed(5202, 0, 1742), /* enterForeachKey $iteratee */ - reg::packed(5211, 0, 1454), /* enterForeachKey $iterateeType */ - reg::packed(5224, 0, 1454), /* enterForeachKey $nativeIterateeType */ - reg::packed(5253, MAY_BE_STRING), /* enterForeachKey $keyName */ + reg::packed(4461, 0, 523), /* enterForeachKey $originalScope */ + reg::packed(5232, 0, 1742), /* enterForeachKey $iteratee */ + reg::packed(5241, 0, 1454), /* enterForeachKey $iterateeType */ + reg::packed(5254, 0, 1454), /* enterForeachKey $nativeIterateeType */ + reg::packed(5283, MAY_BE_STRING), /* enterForeachKey $keyName */ reg::packed(738, 0, 523), /* enterForeachKey return */ - reg::packed(5301, 0, 1454), /* enterCatchType $catchType */ + reg::packed(5331, 0, 1454), /* enterCatchType $catchType */ reg::packed(1404, MAY_BE_NULL | MAY_BE_STRING), /* enterCatchType $variableName */ reg::packed(738, 0, 523), /* enterCatchType return */ reg::packed(966, 0, 1742), /* enterExpressionAssign $expr */ - reg::packed(5326, MAY_BE_BOOL, reg::NoString, false, false, 402), /* enterExpressionAssign $isPlainWrite */ + reg::packed(5356, MAY_BE_BOOL, reg::NoString, false, false, 402), /* enterExpressionAssign $isPlainWrite */ reg::packed(738, 0, 523), /* enterExpressionAssign return */ reg::packed(966, 0, 1742), /* exitExpressionAssign $expr */ reg::packed(738, 0, 523), /* exitExpressionAssign return */ @@ -881,23 +884,23 @@ inline constexpr reg::PackedArg args[] = { reg::packed(966, 0, 1742), /* isUndefinedExpressionAllowed $expr */ reg::packed(738, MAY_BE_BOOL), /* isUndefinedExpressionAllowed return */ reg::packed(1404, MAY_BE_STRING), /* assignVariable $variableName */ - reg::packed(3938, 0, 1454), /* assignVariable $type */ - reg::packed(5095, 0, 1454), /* assignVariable $nativeType */ - reg::packed(5520, 0, 1417), /* assignVariable $certainty */ - reg::packed(5530, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* assignVariable $intertwinedPropagatedFrom */ + reg::packed(3968, 0, 1454), /* assignVariable $type */ + reg::packed(5125, 0, 1454), /* assignVariable $nativeType */ + reg::packed(5550, 0, 1417), /* assignVariable $certainty */ + reg::packed(5560, MAY_BE_ARRAY, reg::NoString, false, false, 253), /* assignVariable $intertwinedPropagatedFrom */ reg::packed(738, 0, 523), /* assignVariable return */ reg::packed(966, 0, 1742), /* overwriteExpression $expr */ - reg::packed(3938, 0, 1454), /* overwriteExpression $type */ - reg::packed(5095, 0, 1454), /* overwriteExpression $nativeType */ + reg::packed(3968, 0, 1454), /* overwriteExpression $type */ + reg::packed(5125, 0, 1454), /* overwriteExpression $nativeType */ reg::packed(738, 0, 523), /* overwriteExpression return */ - reg::packed(5591, 0, 523), /* resolveIntertwinedAssignedType $scope */ - reg::packed(5597, 0, 1454), /* resolveIntertwinedAssignedType $rootType */ - reg::packed(5606, 0, 1742), /* resolveIntertwinedAssignedType $assignedExpr */ - reg::packed(5619, MAY_BE_STRING), /* resolveIntertwinedAssignedType $rootVariableName */ - reg::packed(5636, MAY_BE_BOOL), /* resolveIntertwinedAssignedType $native */ + reg::packed(3041, 0, 523), /* resolveIntertwinedAssignedType $scope */ + reg::packed(5621, 0, 1454), /* resolveIntertwinedAssignedType $rootType */ + reg::packed(5630, 0, 1742), /* resolveIntertwinedAssignedType $assignedExpr */ + reg::packed(5643, MAY_BE_STRING), /* resolveIntertwinedAssignedType $rootVariableName */ + reg::packed(5660, MAY_BE_BOOL), /* resolveIntertwinedAssignedType $native */ reg::packed(738, 0, 1454), /* resolveIntertwinedAssignedType return */ - reg::packed(5591, 0, 523), /* isDimFetchPathReachable $scope */ - reg::packed(5674, 0, 5683), /* isDimFetchPathReachable $dimFetch */ + reg::packed(3041, 0, 523), /* isDimFetchPathReachable $scope */ + reg::packed(5698, 0, 5707), /* isDimFetchPathReachable $dimFetch */ reg::packed(738, MAY_BE_BOOL), /* isDimFetchPathReachable return */ reg::packed(966, 0, 1742), /* unsetExpression $expr */ reg::packed(738, 0, 523), /* unsetExpression return */ @@ -908,297 +911,297 @@ inline constexpr reg::PackedArg args[] = { reg::packed(966, 0, 1742), /* getScopeStateNativeType $expr */ reg::packed(738, 0, 1454), /* getScopeStateNativeType return */ reg::packed(966, 0, 1742), /* resolveScopeStateType $expr */ - reg::packed(5636, MAY_BE_BOOL), /* resolveScopeStateType $native */ + reg::packed(5660, MAY_BE_BOOL), /* resolveScopeStateType $native */ reg::packed(738, 0, 1454), /* resolveScopeStateType return */ reg::packed(966, 0, 1742), /* specifyExpressionType $expr */ - reg::packed(3938, 0, 1454), /* specifyExpressionType $type */ - reg::packed(5095, 0, 1454), /* specifyExpressionType $nativeType */ - reg::packed(5520, 0, 1417), /* specifyExpressionType $certainty */ + reg::packed(3968, 0, 1454), /* specifyExpressionType $type */ + reg::packed(5125, 0, 1454), /* specifyExpressionType $nativeType */ + reg::packed(5550, 0, 1417), /* specifyExpressionType $certainty */ reg::packed(738, 0, 523), /* specifyExpressionType return */ reg::packed(738, 0, 523), /* openSpecificationScope return */ reg::packed(966, 0, 1742), /* isSpecifyExpressionTypeNoop $expr */ - reg::packed(3938, 0, 1454), /* isSpecifyExpressionTypeNoop $type */ + reg::packed(3968, 0, 1454), /* isSpecifyExpressionTypeNoop $type */ reg::packed(738, MAY_BE_BOOL), /* isSpecifyExpressionTypeNoop return */ reg::packed(966, 0, 1742), /* specifyExpressionTypeInPlace $expr */ - reg::packed(3938, 0, 1454), /* specifyExpressionTypeInPlace $type */ - reg::packed(5095, 0, 1454), /* specifyExpressionTypeInPlace $nativeType */ - reg::packed(5520, 0, 1417), /* specifyExpressionTypeInPlace $certainty */ + reg::packed(3968, 0, 1454), /* specifyExpressionTypeInPlace $type */ + reg::packed(5125, 0, 1454), /* specifyExpressionTypeInPlace $nativeType */ + reg::packed(5550, 0, 1417), /* specifyExpressionTypeInPlace $certainty */ reg::packed(738, MAY_BE_VOID), /* specifyExpressionTypeInPlace return */ reg::packed(966, 0, 1742), /* assignExpression $expr */ - reg::packed(3938, 0, 1454), /* assignExpression $type */ - reg::packed(5095, 0, 1454), /* assignExpression $nativeType */ + reg::packed(3968, 0, 1454), /* assignExpression $type */ + reg::packed(5125, 0, 1454), /* assignExpression $nativeType */ reg::packed(738, 0, 523), /* assignExpression return */ - reg::packed(5953, 0, 1454), /* assignInitializedProperty $fetchedOnType */ - reg::packed(3792, MAY_BE_STRING), /* assignInitializedProperty $propertyName */ + reg::packed(5977, 0, 1454), /* assignInitializedProperty $fetchedOnType */ + reg::packed(3822, MAY_BE_STRING), /* assignInitializedProperty $propertyName */ reg::packed(738, 0, 523), /* assignInitializedProperty return */ - reg::packed(5993, 0, 1742), /* invalidateExpression $expressionToInvalidate */ - reg::packed(6016, MAY_BE_BOOL, reg::NoString, false, false, 148), /* invalidateExpression $requireMoreCharacters */ - reg::packed(6038, MAY_BE_NULL, 1065, false, false, 222), /* invalidateExpression $invalidatingClass */ - reg::packed(6056, MAY_BE_BOOL, reg::NoString, false, false, 148), /* invalidateExpression $keepPropertyFetches */ - reg::packed(6076, MAY_BE_NULL | MAY_BE_ARRAY, reg::NoString, false, false, 222), /* invalidateExpression $preservedPropertyNames */ + reg::packed(6017, 0, 1742), /* invalidateExpression $expressionToInvalidate */ + reg::packed(6040, MAY_BE_BOOL, reg::NoString, false, false, 148), /* invalidateExpression $requireMoreCharacters */ + reg::packed(6062, MAY_BE_NULL, 1065, false, false, 222), /* invalidateExpression $invalidatingClass */ + reg::packed(6080, MAY_BE_BOOL, reg::NoString, false, false, 148), /* invalidateExpression $keepPropertyFetches */ + reg::packed(6100, MAY_BE_NULL | MAY_BE_ARRAY, reg::NoString, false, false, 222), /* invalidateExpression $preservedPropertyNames */ reg::packed(738, 0, 523), /* invalidateExpression return */ reg::packed(1404, MAY_BE_STRING), /* assignObjectAlias $variableName */ - reg::packed(5606, 0, 1742), /* assignObjectAlias $assignedExpr */ - reg::packed(5520, MAY_BE_NULL, 1417, false, false, 222), /* assignObjectAlias $certainty */ + reg::packed(5630, 0, 1742), /* assignObjectAlias $assignedExpr */ + reg::packed(5550, MAY_BE_NULL, 1417, false, false, 222), /* assignObjectAlias $certainty */ reg::packed(738, 0, 523), /* assignObjectAlias return */ reg::packed(966, 0, 1742), /* holdsSameObject $expr */ - reg::packed(6138, 0, 1742), /* holdsSameObject $otherExpr */ + reg::packed(6162, 0, 1742), /* holdsSameObject $otherExpr */ reg::packed(738, MAY_BE_BOOL), /* holdsSameObject return */ reg::packed(966, 0, 1742), /* specifyObjectAlias $expr */ - reg::packed(6164, 0, 1742), /* specifyObjectAlias $aliasedExpr */ - reg::packed(5520, 0, 1417), /* specifyObjectAlias $certainty */ + reg::packed(6188, 0, 1742), /* specifyObjectAlias $aliasedExpr */ + reg::packed(5550, 0, 1417), /* specifyObjectAlias $certainty */ reg::packed(738, 0, 523), /* specifyObjectAlias return */ reg::packed(966, 0, 1742), /* getObjectAliasRootVariableName $expr */ reg::packed(738, MAY_BE_NULL | MAY_BE_STRING), /* getObjectAliasRootVariableName return */ reg::packed(738, MAY_BE_ARRAY), /* getObjectAliasEdges return */ reg::packed(966, 0, 1742), /* getPropertyFetchChainPrefixes $expr */ - reg::packed(6246, MAY_BE_BOOL), /* getPropertyFetchChainPrefixes $includeSelf */ + reg::packed(6270, MAY_BE_BOOL), /* getPropertyFetchChainPrefixes $includeSelf */ reg::packed(738, MAY_BE_ARRAY), /* getPropertyFetchChainPrefixes return */ reg::packed(966, 0, 1742), /* findObjectAliasClass $expr */ - reg::packed(6288, MAY_BE_ARRAY), /* findObjectAliasClass $edges */ + reg::packed(6312, MAY_BE_ARRAY), /* findObjectAliasClass $edges */ reg::packed(738, MAY_BE_ARRAY), /* findObjectAliasClass return */ reg::packed(966, 0, 1742), /* findObjectAliasInvalidationTargets $expr */ - reg::packed(6016, MAY_BE_BOOL), /* findObjectAliasInvalidationTargets $requireMoreCharacters */ - reg::packed(6288, MAY_BE_ARRAY), /* findObjectAliasInvalidationTargets $edges */ + reg::packed(6040, MAY_BE_BOOL), /* findObjectAliasInvalidationTargets $requireMoreCharacters */ + reg::packed(6312, MAY_BE_ARRAY), /* findObjectAliasInvalidationTargets $edges */ reg::packed(738, MAY_BE_ARRAY), /* findObjectAliasInvalidationTargets return */ - reg::packed(6288, MAY_BE_ARRAY), /* reconnectObjectAliases $edges */ - reg::packed(6350, MAY_BE_ARRAY), /* reconnectObjectAliases $targets */ + reg::packed(6312, MAY_BE_ARRAY), /* reconnectObjectAliases $edges */ + reg::packed(6374, MAY_BE_ARRAY), /* reconnectObjectAliases $targets */ reg::packed(738, 0, 523), /* reconnectObjectAliases return */ - reg::packed(5993, 0, 1742), /* invalidateExpressionWithoutAliases $expressionToInvalidate */ - reg::packed(6016, MAY_BE_BOOL), /* invalidateExpressionWithoutAliases $requireMoreCharacters */ - reg::packed(6038, MAY_BE_NULL, 1065), /* invalidateExpressionWithoutAliases $invalidatingClass */ - reg::packed(6056, MAY_BE_BOOL), /* invalidateExpressionWithoutAliases $keepPropertyFetches */ - reg::packed(6076, MAY_BE_NULL | MAY_BE_ARRAY), /* invalidateExpressionWithoutAliases $preservedPropertyNames */ + reg::packed(6017, 0, 1742), /* invalidateExpressionWithoutAliases $expressionToInvalidate */ + reg::packed(6040, MAY_BE_BOOL), /* invalidateExpressionWithoutAliases $requireMoreCharacters */ + reg::packed(6062, MAY_BE_NULL, 1065), /* invalidateExpressionWithoutAliases $invalidatingClass */ + reg::packed(6080, MAY_BE_BOOL), /* invalidateExpressionWithoutAliases $keepPropertyFetches */ + reg::packed(6100, MAY_BE_NULL | MAY_BE_ARRAY), /* invalidateExpressionWithoutAliases $preservedPropertyNames */ reg::packed(738, 0, 523), /* invalidateExpressionWithoutAliases return */ reg::packed(966, 0, 1742), /* isPrivatePropertyOfDifferentClass $expr */ - reg::packed(6038, 0, 1065), /* isPrivatePropertyOfDifferentClass $invalidatingClass */ + reg::packed(6062, 0, 1065), /* isPrivatePropertyOfDifferentClass $invalidatingClass */ reg::packed(738, MAY_BE_BOOL), /* isPrivatePropertyOfDifferentClass return */ - reg::packed(5993, 0, 1742), /* invalidateMethodsOnExpression $expressionToInvalidate */ + reg::packed(6017, 0, 1742), /* invalidateMethodsOnExpression $expressionToInvalidate */ reg::packed(738, 0, 523), /* invalidateMethodsOnExpression return */ reg::packed(966, 0, 1742), /* setExpressionCertaintyKeepingType $expr */ - reg::packed(5520, 0, 1417), /* setExpressionCertaintyKeepingType $certainty */ + reg::packed(5550, 0, 1417), /* setExpressionCertaintyKeepingType $certainty */ reg::packed(738, 0, 523), /* setExpressionCertaintyKeepingType return */ - reg::packed(6514, 0, 1454), /* removeArraysWithoutOffsetValueType $varType */ - reg::packed(6522, 0, 1454), /* removeArraysWithoutOffsetValueType $dimType */ - reg::packed(6530, 0, 1454), /* removeArraysWithoutOffsetValueType $offsetValueType */ + reg::packed(6538, 0, 1454), /* removeArraysWithoutOffsetValueType $varType */ + reg::packed(6546, 0, 1454), /* removeArraysWithoutOffsetValueType $dimType */ + reg::packed(6554, 0, 1454), /* removeArraysWithoutOffsetValueType $offsetValueType */ reg::packed(738, 0, 1454), /* removeArraysWithoutOffsetValueType return */ - reg::packed(3938, 0, 1454), /* isComplexUnionType $type */ + reg::packed(3968, 0, 1454), /* isComplexUnionType $type */ reg::packed(738, MAY_BE_BOOL), /* isComplexUnionType return */ reg::packed(966, 0, 1742), /* addTypeToExpression $expr */ - reg::packed(3938, 0, 1454), /* addTypeToExpression $type */ + reg::packed(3968, 0, 1454), /* addTypeToExpression $type */ reg::packed(738, 0, 523), /* addTypeToExpression return */ reg::packed(966, 0, 1742), /* removeTypeFromExpression $expr */ - reg::packed(6620, 0, 1454), /* removeTypeFromExpression $typeToRemove */ + reg::packed(6644, 0, 1454), /* removeTypeFromExpression $typeToRemove */ reg::packed(738, 0, 523), /* removeTypeFromExpression return */ reg::packed(966, 0, 1742), /* filterByTruthyValue $expr */ reg::packed(738, 0, 523), /* filterByTruthyValue return */ reg::packed(966, 0, 1742), /* filterByFalseyValue $expr */ reg::packed(738, 0, 523), /* filterByFalseyValue return */ - reg::packed(6698, 0, 2065), /* applySpecifiedTypes $specifiedTypes */ + reg::packed(6722, 0, 2065), /* applySpecifiedTypes $specifiedTypes */ reg::packed(738, 0, 523), /* applySpecifiedTypes return */ - reg::packed(6733, MAY_BE_ARRAY), /* respecifyRelationalFacts $changedExpressions */ + reg::packed(6757, MAY_BE_ARRAY), /* respecifyRelationalFacts $changedExpressions */ reg::packed(738, MAY_BE_NULL, 2065), /* respecifyRelationalFacts return */ - reg::packed(6698, 0, 2065), /* applySpecifiedTypesBatch $specifiedTypes */ + reg::packed(6722, 0, 2065), /* applySpecifiedTypesBatch $specifiedTypes */ reg::packed(738, MAY_BE_ARRAY), /* applySpecifiedTypesBatch return */ - reg::packed(6802, MAY_BE_ARRAY), /* processConditionalExpressionsAfterSpecifying $specifiedExpressions */ + reg::packed(6826, MAY_BE_ARRAY), /* processConditionalExpressionsAfterSpecifying $specifiedExpressions */ reg::packed(738, 0, 523), /* processConditionalExpressionsAfterSpecifying return */ reg::packed(738, MAY_BE_ARRAY), /* getConditionalExpressions return */ reg::packed(1913, MAY_BE_STRING), /* addConditionalExpressions $exprString */ - reg::packed(6894, MAY_BE_ARRAY), /* addConditionalExpressions $conditionalExpressionHolders */ + reg::packed(6918, MAY_BE_ARRAY), /* addConditionalExpressions $conditionalExpressionHolders */ reg::packed(738, 0, 523), /* addConditionalExpressions return */ reg::packed(738, 0, 523), /* exitFirstLevelStatements return */ reg::packed(738, MAY_BE_BOOL), /* isInFirstLevelStatement return */ - reg::packed(6998, MAY_BE_NULL, 523), /* mergeWith $otherScope */ - reg::packed(7009, MAY_BE_BOOL, reg::NoString, false, false, 148), /* mergeWith $preserveVacuousConditionals */ - reg::packed(7037, MAY_BE_BOOL, reg::NoString, false, false, 148), /* mergeWith $joinsIterations */ + reg::packed(7022, MAY_BE_NULL, 523), /* mergeWith $otherScope */ + reg::packed(7033, MAY_BE_BOOL, reg::NoString, false, false, 148), /* mergeWith $preserveVacuousConditionals */ + reg::packed(7061, MAY_BE_BOOL, reg::NoString, false, false, 148), /* mergeWith $joinsIterations */ reg::packed(738, 0, 523), /* mergeWith return */ - reg::packed(7063, MAY_BE_ARRAY), /* completeOffsetWriteBases $differingKeys */ - reg::packed(7077, MAY_BE_ARRAY, reg::NoString, true, false), /* completeOffsetWriteBases $ourTypes */ - reg::packed(7086, MAY_BE_ARRAY, reg::NoString, true, false), /* completeOffsetWriteBases $theirTypes */ - reg::packed(7097, MAY_BE_ARRAY, reg::NoString, true, false), /* completeOffsetWriteBases $ourNativeTypes */ - reg::packed(7112, MAY_BE_ARRAY, reg::NoString, true, false), /* completeOffsetWriteBases $theirNativeTypes */ + reg::packed(7087, MAY_BE_ARRAY), /* completeOffsetWriteBases $differingKeys */ + reg::packed(7101, MAY_BE_ARRAY, reg::NoString, true, false), /* completeOffsetWriteBases $ourTypes */ + reg::packed(7110, MAY_BE_ARRAY, reg::NoString, true, false), /* completeOffsetWriteBases $theirTypes */ + reg::packed(7121, MAY_BE_ARRAY, reg::NoString, true, false), /* completeOffsetWriteBases $ourNativeTypes */ + reg::packed(7136, MAY_BE_ARRAY, reg::NoString, true, false), /* completeOffsetWriteBases $theirNativeTypes */ reg::packed(738, MAY_BE_BOOL), /* completeOffsetWriteBases return */ reg::packed(1913, MAY_BE_STRING), /* completeOffsetWriteBase $exprString */ - reg::packed(7154, 0, 4726), /* completeOffsetWriteBase $holder */ - reg::packed(7161, MAY_BE_ARRAY, reg::NoString, true, false), /* completeOffsetWriteBase $types */ - reg::packed(7167, MAY_BE_ARRAY, reg::NoString, true, false), /* completeOffsetWriteBase $nativeTypes */ + reg::packed(7178, 0, 4756), /* completeOffsetWriteBase $holder */ + reg::packed(7185, MAY_BE_ARRAY, reg::NoString, true, false), /* completeOffsetWriteBase $types */ + reg::packed(7191, MAY_BE_ARRAY, reg::NoString, true, false), /* completeOffsetWriteBase $nativeTypes */ reg::packed(738, MAY_BE_BOOL), /* completeOffsetWriteBase return */ - reg::packed(7203, 0, 523), /* collectAbsorbedClosures $ours */ - reg::packed(7208, 0, 523), /* collectAbsorbedClosures $theirs */ + reg::packed(7227, 0, 523), /* collectAbsorbedClosures $ours */ + reg::packed(7232, 0, 523), /* collectAbsorbedClosures $theirs */ reg::packed(738, MAY_BE_NULL, 672), /* collectAbsorbedClosures return */ - reg::packed(6998, MAY_BE_NULL, 523), /* mergeWithVariableState $otherScope */ - reg::packed(7009, MAY_BE_BOOL), /* mergeWithVariableState $preserveVacuousConditionals */ - reg::packed(7037, MAY_BE_BOOL), /* mergeWithVariableState $joinsIterations */ + reg::packed(7022, MAY_BE_NULL, 523), /* mergeWithVariableState $otherScope */ + reg::packed(7033, MAY_BE_BOOL), /* mergeWithVariableState $preserveVacuousConditionals */ + reg::packed(7061, MAY_BE_BOOL), /* mergeWithVariableState $joinsIterations */ reg::packed(738, 0, 523), /* mergeWithVariableState return */ - reg::packed(7262, MAY_BE_ARRAY), /* findMergedCallCandidates $differingExpressionKeys */ - reg::packed(7286, MAY_BE_ARRAY), /* findMergedCallCandidates $mergedExpressionTypes */ + reg::packed(7286, MAY_BE_ARRAY), /* findMergedCallCandidates $differingExpressionKeys */ + reg::packed(7310, MAY_BE_ARRAY), /* findMergedCallCandidates $mergedExpressionTypes */ reg::packed(738, MAY_BE_ARRAY), /* findMergedCallCandidates return */ - reg::packed(7333, 0, 7338), /* hasNarrowableArgument $call */ + reg::packed(7357, 0, 7362), /* hasNarrowableArgument $call */ reg::packed(738, MAY_BE_BOOL), /* hasNarrowableArgument return */ - reg::packed(7451, MAY_BE_ARRAY), /* findUninformativeMergedCalls $candidates */ - reg::packed(7462, MAY_BE_ARRAY), /* findUninformativeMergedCalls $mergedNativeTypes */ + reg::packed(7475, MAY_BE_ARRAY), /* findUninformativeMergedCalls $candidates */ + reg::packed(7486, MAY_BE_ARRAY), /* findUninformativeMergedCalls $mergedNativeTypes */ reg::packed(738, MAY_BE_ARRAY), /* findUninformativeMergedCalls return */ - reg::packed(7262, MAY_BE_ARRAY), /* withoutPreciseClassConstantFetches $differingExpressionKeys */ - reg::packed(7509, MAY_BE_ARRAY), /* withoutPreciseClassConstantFetches $ourExpressionTypes */ - reg::packed(7528, MAY_BE_ARRAY), /* withoutPreciseClassConstantFetches $theirExpressionTypes */ + reg::packed(7286, MAY_BE_ARRAY), /* withoutPreciseClassConstantFetches $differingExpressionKeys */ + reg::packed(7533, MAY_BE_ARRAY), /* withoutPreciseClassConstantFetches $ourExpressionTypes */ + reg::packed(7552, MAY_BE_ARRAY), /* withoutPreciseClassConstantFetches $theirExpressionTypes */ reg::packed(738, MAY_BE_ARRAY), /* withoutPreciseClassConstantFetches return */ - reg::packed(7584, MAY_BE_ARRAY), /* preserveVacuousConditionalExpressions $currentConditionalExpressions */ - reg::packed(7614, MAY_BE_ARRAY), /* preserveVacuousConditionalExpressions $sourceConditionalExpressions */ - reg::packed(7643, MAY_BE_ARRAY), /* preserveVacuousConditionalExpressions $otherExpressionTypes */ - reg::packed(7037, MAY_BE_BOOL), /* preserveVacuousConditionalExpressions $joinsIterations */ + reg::packed(7608, MAY_BE_ARRAY), /* preserveVacuousConditionalExpressions $currentConditionalExpressions */ + reg::packed(7638, MAY_BE_ARRAY), /* preserveVacuousConditionalExpressions $sourceConditionalExpressions */ + reg::packed(7667, MAY_BE_ARRAY), /* preserveVacuousConditionalExpressions $otherExpressionTypes */ + reg::packed(7061, MAY_BE_BOOL), /* preserveVacuousConditionalExpressions $joinsIterations */ reg::packed(738, MAY_BE_ARRAY), /* preserveVacuousConditionalExpressions return */ - reg::packed(7154, 0, 7702), /* isAboutCall $holder */ + reg::packed(7178, 0, 7726), /* isAboutCall $holder */ reg::packed(738, MAY_BE_BOOL), /* isAboutCall return */ - reg::packed(7584, MAY_BE_ARRAY), /* mergeSameGuardConditionalExpressions $currentConditionalExpressions */ - reg::packed(7759, MAY_BE_ARRAY), /* mergeSameGuardConditionalExpressions $ourConditionalExpressions */ - reg::packed(7785, MAY_BE_ARRAY), /* mergeSameGuardConditionalExpressions $theirConditionalExpressions */ + reg::packed(7608, MAY_BE_ARRAY), /* mergeSameGuardConditionalExpressions $currentConditionalExpressions */ + reg::packed(7783, MAY_BE_ARRAY), /* mergeSameGuardConditionalExpressions $ourConditionalExpressions */ + reg::packed(7809, MAY_BE_ARRAY), /* mergeSameGuardConditionalExpressions $theirConditionalExpressions */ reg::packed(738, MAY_BE_ARRAY), /* mergeSameGuardConditionalExpressions return */ - reg::packed(7850, MAY_BE_ARRAY), /* mergeConditionalExpressions $newConditionalExpressions */ - reg::packed(7876, MAY_BE_ARRAY), /* mergeConditionalExpressions $existingConditionalExpressions */ + reg::packed(7874, MAY_BE_ARRAY), /* mergeConditionalExpressions $newConditionalExpressions */ + reg::packed(7900, MAY_BE_ARRAY), /* mergeConditionalExpressions $existingConditionalExpressions */ reg::packed(738, MAY_BE_ARRAY), /* mergeConditionalExpressions return */ - reg::packed(7935, 0, 523), /* mergeInitializedProperties $calledMethodScope */ + reg::packed(7959, 0, 523), /* mergeInitializedProperties $calledMethodScope */ reg::packed(738, 0, 523), /* mergeInitializedProperties return */ - reg::packed(7980, 0, 523), /* processFinallyScope $finallyScope */ - reg::packed(7993, 0, 523), /* processFinallyScope $originalFinallyScope */ + reg::packed(8004, 0, 523), /* processFinallyScope $finallyScope */ + reg::packed(8017, 0, 523), /* processFinallyScope $originalFinallyScope */ reg::packed(738, 0, 523), /* processFinallyScope return */ - reg::packed(8034, MAY_BE_ARRAY), /* processFinallyScopeVariableTypeHolders $ourVariableTypeHolders */ - reg::packed(8057, MAY_BE_ARRAY), /* processFinallyScopeVariableTypeHolders $finallyVariableTypeHolders */ - reg::packed(8084, MAY_BE_ARRAY), /* processFinallyScopeVariableTypeHolders $originalVariableTypeHolders */ + reg::packed(8058, MAY_BE_ARRAY), /* processFinallyScopeVariableTypeHolders $ourVariableTypeHolders */ + reg::packed(8081, MAY_BE_ARRAY), /* processFinallyScopeVariableTypeHolders $finallyVariableTypeHolders */ + reg::packed(8108, MAY_BE_ARRAY), /* processFinallyScopeVariableTypeHolders $originalVariableTypeHolders */ reg::packed(738, MAY_BE_ARRAY), /* processFinallyScopeVariableTypeHolders return */ - reg::packed(8151, 0, 523), /* processClosureScope $closureScope */ - reg::packed(8164, MAY_BE_NULL, 523), /* processClosureScope $prevScope */ - reg::packed(8174, MAY_BE_ARRAY), /* processClosureScope $byRefUses */ + reg::packed(8175, 0, 523), /* processClosureScope $closureScope */ + reg::packed(8188, MAY_BE_NULL, 523), /* processClosureScope $prevScope */ + reg::packed(8198, MAY_BE_ARRAY), /* processClosureScope $byRefUses */ reg::packed(738, 0, 523), /* processClosureScope return */ - reg::packed(8204, 0, 523), /* processAlwaysIterableForeachScopeWithoutPollute $finalScope */ + reg::packed(8228, 0, 523), /* processAlwaysIterableForeachScopeWithoutPollute $finalScope */ reg::packed(738, 0, 523), /* processAlwaysIterableForeachScopeWithoutPollute return */ - reg::packed(8263, MAY_BE_NULL | MAY_BE_ARRAY), /* forgetLoopWrittenVariables $writtenVariableNames */ + reg::packed(8287, MAY_BE_NULL | MAY_BE_ARRAY), /* forgetLoopWrittenVariables $writtenVariableNames */ reg::packed(738, 0, 523), /* forgetLoopWrittenVariables return */ - reg::packed(8311, 0, 523), /* forgetChangedLoopVariables $previousScope */ - reg::packed(8263, MAY_BE_NULL | MAY_BE_ARRAY), /* forgetChangedLoopVariables $writtenVariableNames */ + reg::packed(8335, 0, 523), /* forgetChangedLoopVariables $previousScope */ + reg::packed(8287, MAY_BE_NULL | MAY_BE_ARRAY), /* forgetChangedLoopVariables $writtenVariableNames */ reg::packed(738, MAY_BE_NULL, 523), /* forgetChangedLoopVariables return */ - reg::packed(6998, 0, 523), /* getChangedVariableNames $otherScope */ + reg::packed(7022, 0, 523), /* getChangedVariableNames $otherScope */ reg::packed(738, MAY_BE_ARRAY), /* getChangedVariableNames return */ - reg::packed(8376, 0, 1454), /* generalizeIteratedType $previousType */ - reg::packed(3938, 0, 1454), /* generalizeIteratedType $type */ + reg::packed(8400, 0, 1454), /* generalizeIteratedType $previousType */ + reg::packed(3968, 0, 1454), /* generalizeIteratedType $type */ reg::packed(738, 0, 1454), /* generalizeIteratedType return */ - reg::packed(6998, 0, 523), /* generalizeWith $otherScope */ - reg::packed(8412, MAY_BE_NULL | MAY_BE_ARRAY, reg::NoString, false, false, 222), /* generalizeWith $writableVariableNames */ - reg::packed(8434, MAY_BE_NULL, 523, false, false, 222), /* generalizeWith $loopEntryScope */ + reg::packed(7022, 0, 523), /* generalizeWith $otherScope */ + reg::packed(8436, MAY_BE_NULL | MAY_BE_ARRAY, reg::NoString, false, false, 222), /* generalizeWith $writableVariableNames */ + reg::packed(8458, MAY_BE_NULL, 523, false, false, 222), /* generalizeWith $loopEntryScope */ reg::packed(738, 0, 523), /* generalizeWith return */ - reg::packed(6998, 0, 523), /* generalizeWithVariableState $otherScope */ - reg::packed(8412, MAY_BE_NULL | MAY_BE_ARRAY), /* generalizeWithVariableState $writableVariableNames */ - reg::packed(8434, MAY_BE_NULL, 523), /* generalizeWithVariableState $loopEntryScope */ + reg::packed(7022, 0, 523), /* generalizeWithVariableState $otherScope */ + reg::packed(8436, MAY_BE_NULL | MAY_BE_ARRAY), /* generalizeWithVariableState $writableVariableNames */ + reg::packed(8458, MAY_BE_NULL, 523), /* generalizeWithVariableState $loopEntryScope */ reg::packed(738, 0, 523), /* generalizeWithVariableState return */ reg::packed(278, MAY_BE_ARRAY), /* withoutWidenedConditionalExpressions $conditionalExpressions */ reg::packed(237, MAY_BE_ARRAY), /* withoutWidenedConditionalExpressions $expressionTypes */ - reg::packed(8492, MAY_BE_ARRAY), /* withoutWidenedConditionalExpressions $generalizedExpressionTypes */ + reg::packed(8516, MAY_BE_ARRAY), /* withoutWidenedConditionalExpressions $generalizedExpressionTypes */ reg::packed(738, MAY_BE_ARRAY), /* withoutWidenedConditionalExpressions return */ - reg::packed(8556, MAY_BE_ARRAY), /* generalizeVariableTypeHolders $variableTypeHolders */ - reg::packed(8576, MAY_BE_ARRAY), /* generalizeVariableTypeHolders $otherVariableTypeHolders */ - reg::packed(8412, MAY_BE_NULL | MAY_BE_ARRAY), /* generalizeVariableTypeHolders $writableVariableNames */ - reg::packed(8601, MAY_BE_ARRAY), /* generalizeVariableTypeHolders $entryVariableTypeHolders */ + reg::packed(8580, MAY_BE_ARRAY), /* generalizeVariableTypeHolders $variableTypeHolders */ + reg::packed(8600, MAY_BE_ARRAY), /* generalizeVariableTypeHolders $otherVariableTypeHolders */ + reg::packed(8436, MAY_BE_NULL | MAY_BE_ARRAY), /* generalizeVariableTypeHolders $writableVariableNames */ + reg::packed(8625, MAY_BE_ARRAY), /* generalizeVariableTypeHolders $entryVariableTypeHolders */ reg::packed(738, MAY_BE_ARRAY), /* generalizeVariableTypeHolders return */ - reg::packed(3938, 0, 1454), /* flattenUnionForGeneralization $type */ + reg::packed(3968, 0, 1454), /* flattenUnionForGeneralization $type */ reg::packed(738, MAY_BE_ARRAY), /* flattenUnionForGeneralization return */ - reg::packed(8686, 0, 1454), /* generalizeType $a */ - reg::packed(8688, 0, 1454), /* generalizeType $b */ - reg::packed(8690, MAY_BE_LONG), /* generalizeType $depth */ - reg::packed(8696, MAY_BE_NULL, 1454, false, false, 222), /* generalizeType $entryType */ + reg::packed(8710, 0, 1454), /* generalizeType $a */ + reg::packed(8712, 0, 1454), /* generalizeType $b */ + reg::packed(8714, MAY_BE_LONG), /* generalizeType $depth */ + reg::packed(8720, MAY_BE_NULL, 1454, false, false, 222), /* generalizeType $entryType */ reg::packed(738, 0, 1454), /* generalizeType return */ - reg::packed(8686, MAY_BE_ARRAY), /* generalizeConstantFloats $a */ - reg::packed(8688, MAY_BE_ARRAY), /* generalizeConstantFloats $b */ - reg::packed(8721, MAY_BE_DOUBLE), /* generalizeConstantFloats $entryMin */ - reg::packed(8730, MAY_BE_DOUBLE), /* generalizeConstantFloats $entryMax */ + reg::packed(8710, MAY_BE_ARRAY), /* generalizeConstantFloats $a */ + reg::packed(8712, MAY_BE_ARRAY), /* generalizeConstantFloats $b */ + reg::packed(8745, MAY_BE_DOUBLE), /* generalizeConstantFloats $entryMin */ + reg::packed(8754, MAY_BE_DOUBLE), /* generalizeConstantFloats $entryMax */ reg::packed(738, 0, 1454), /* generalizeConstantFloats return */ - reg::packed(8686, 0, 1454), /* generalizeShapesKeyByKey $a */ - reg::packed(8688, 0, 1454), /* generalizeShapesKeyByKey $b */ - reg::packed(8690, MAY_BE_LONG), /* generalizeShapesKeyByKey $depth */ - reg::packed(8764, 0, 1454), /* generalizeShapesKeyByKey $allA */ - reg::packed(8769, 0, 1454), /* generalizeShapesKeyByKey $allB */ + reg::packed(8710, 0, 1454), /* generalizeShapesKeyByKey $a */ + reg::packed(8712, 0, 1454), /* generalizeShapesKeyByKey $b */ + reg::packed(8714, MAY_BE_LONG), /* generalizeShapesKeyByKey $depth */ + reg::packed(8788, 0, 1454), /* generalizeShapesKeyByKey $allA */ + reg::packed(8793, 0, 1454), /* generalizeShapesKeyByKey $allB */ reg::packed(738, 0, 1454), /* generalizeShapesKeyByKey return */ - reg::packed(8686, 0, 1454), /* pairShapes $a */ - reg::packed(8688, 0, 1454), /* pairShapes $b */ + reg::packed(8710, 0, 1454), /* pairShapes $a */ + reg::packed(8712, 0, 1454), /* pairShapes $b */ reg::packed(738, MAY_BE_NULL | MAY_BE_ARRAY), /* pairShapes return */ - reg::packed(8810, 0, 8816), /* getRequiredKeysSignature $shape */ + reg::packed(8834, 0, 8840), /* getRequiredKeysSignature $shape */ reg::packed(738, MAY_BE_STRING), /* getRequiredKeysSignature return */ - reg::packed(3938, 0, 1454), /* getArrayDepth $type */ + reg::packed(3968, 0, 1454), /* getArrayDepth $type */ reg::packed(738, MAY_BE_LONG), /* getArrayDepth return */ - reg::packed(6998, 0, 523), /* equals $otherScope */ + reg::packed(7022, 0, 523), /* equals $otherScope */ reg::packed(738, MAY_BE_BOOL), /* equals return */ reg::packed(278, MAY_BE_ARRAY), /* compareConditionalExpressions $conditionalExpressions */ - reg::packed(8902, MAY_BE_ARRAY), /* compareConditionalExpressions $otherConditionalExpressions */ + reg::packed(8926, MAY_BE_ARRAY), /* compareConditionalExpressions $otherConditionalExpressions */ reg::packed(738, MAY_BE_BOOL), /* compareConditionalExpressions return */ - reg::packed(8556, MAY_BE_ARRAY), /* compareVariableTypeHolders $variableTypeHolders */ - reg::packed(8576, MAY_BE_ARRAY), /* compareVariableTypeHolders $otherVariableTypeHolders */ + reg::packed(8580, MAY_BE_ARRAY), /* compareVariableTypeHolders $variableTypeHolders */ + reg::packed(8600, MAY_BE_ARRAY), /* compareVariableTypeHolders $otherVariableTypeHolders */ reg::packed(738, MAY_BE_BOOL), /* compareVariableTypeHolders return */ - reg::packed(8987, 0, 9006), /* canAccessProperty $propertyReflection */ + reg::packed(9011, 0, 9030), /* canAccessProperty $propertyReflection */ reg::packed(738, MAY_BE_BOOL), /* canAccessProperty return */ - reg::packed(8987, 0, 9062), /* canReadProperty $propertyReflection */ + reg::packed(9011, 0, 9086), /* canReadProperty $propertyReflection */ reg::packed(738, MAY_BE_BOOL), /* canReadProperty return */ - reg::packed(8987, 0, 9062), /* canWriteProperty $propertyReflection */ + reg::packed(9011, 0, 9086), /* canWriteProperty $propertyReflection */ reg::packed(738, MAY_BE_BOOL), /* canWriteProperty return */ - reg::packed(9141, 0, 9158), /* canCallMethod $methodReflection */ + reg::packed(9165, 0, 9182), /* canCallMethod $methodReflection */ reg::packed(738, MAY_BE_BOOL), /* canCallMethod return */ - reg::packed(9208, 0, 9227), /* canAccessConstant $constantReflection */ + reg::packed(9232, 0, 9251), /* canAccessConstant $constantReflection */ reg::packed(738, MAY_BE_BOOL), /* canAccessConstant return */ - reg::packed(9288, 0, 9310), /* canAccessClassMember $classMemberReflection */ + reg::packed(9312, 0, 9334), /* canAccessClassMember $classMemberReflection */ reg::packed(738, MAY_BE_BOOL), /* canAccessClassMember return */ reg::packed(738, MAY_BE_ARRAY), /* debug return */ - reg::packed(9378, 0, 1454), /* filterTypeWithMethod $typeWithMethod */ - reg::packed(9393, MAY_BE_STRING), /* filterTypeWithMethod $methodName */ + reg::packed(9402, 0, 1454), /* filterTypeWithMethod $typeWithMethod */ + reg::packed(9417, MAY_BE_STRING), /* filterTypeWithMethod $methodName */ reg::packed(738, MAY_BE_NULL, 1454), /* filterTypeWithMethod return */ - reg::packed(9378, 0, 1454), /* getMethodReflection $typeWithMethod */ - reg::packed(9393, MAY_BE_STRING), /* getMethodReflection $methodName */ - reg::packed(738, MAY_BE_NULL, 9425), /* getMethodReflection return */ - reg::packed(9378, 0, 1454), /* getNakedMethod $typeWithMethod */ - reg::packed(9393, MAY_BE_STRING), /* getNakedMethod $methodName */ - reg::packed(738, MAY_BE_NULL, 9425), /* getNakedMethod return */ - reg::packed(9504, 0, 1454), /* getPropertyReflection $typeWithProperty */ - reg::packed(3792, MAY_BE_STRING), /* getPropertyReflection $propertyName */ - reg::packed(738, MAY_BE_NULL, 9062), /* getPropertyReflection return */ - reg::packed(9504, 0, 1454), /* getInstancePropertyReflection $typeWithProperty */ - reg::packed(3792, MAY_BE_STRING), /* getInstancePropertyReflection $propertyName */ - reg::packed(738, MAY_BE_NULL, 9062), /* getInstancePropertyReflection return */ - reg::packed(9504, 0, 1454), /* getStaticPropertyReflection $typeWithProperty */ - reg::packed(3792, MAY_BE_STRING), /* getStaticPropertyReflection $propertyName */ - reg::packed(738, MAY_BE_NULL, 9062), /* getStaticPropertyReflection return */ - reg::packed(9601, 0, 1454), /* getConstantReflection $typeWithConstant */ - reg::packed(9618, MAY_BE_STRING), /* getConstantReflection $constantName */ - reg::packed(738, MAY_BE_NULL, 9227), /* getConstantReflection return */ - reg::packed(9618, MAY_BE_STRING), /* getConstantExplicitTypeFromConfig $constantName */ - reg::packed(9653, 0, 1454), /* getConstantExplicitTypeFromConfig $constantType */ + reg::packed(9402, 0, 1454), /* getMethodReflection $typeWithMethod */ + reg::packed(9417, MAY_BE_STRING), /* getMethodReflection $methodName */ + reg::packed(738, MAY_BE_NULL, 9449), /* getMethodReflection return */ + reg::packed(9402, 0, 1454), /* getNakedMethod $typeWithMethod */ + reg::packed(9417, MAY_BE_STRING), /* getNakedMethod $methodName */ + reg::packed(738, MAY_BE_NULL, 9449), /* getNakedMethod return */ + reg::packed(9528, 0, 1454), /* getPropertyReflection $typeWithProperty */ + reg::packed(3822, MAY_BE_STRING), /* getPropertyReflection $propertyName */ + reg::packed(738, MAY_BE_NULL, 9086), /* getPropertyReflection return */ + reg::packed(9528, 0, 1454), /* getInstancePropertyReflection $typeWithProperty */ + reg::packed(3822, MAY_BE_STRING), /* getInstancePropertyReflection $propertyName */ + reg::packed(738, MAY_BE_NULL, 9086), /* getInstancePropertyReflection return */ + reg::packed(9528, 0, 1454), /* getStaticPropertyReflection $typeWithProperty */ + reg::packed(3822, MAY_BE_STRING), /* getStaticPropertyReflection $propertyName */ + reg::packed(738, MAY_BE_NULL, 9086), /* getStaticPropertyReflection return */ + reg::packed(9625, 0, 1454), /* getConstantReflection $typeWithConstant */ + reg::packed(9642, MAY_BE_STRING), /* getConstantReflection $constantName */ + reg::packed(738, MAY_BE_NULL, 9251), /* getConstantReflection return */ + reg::packed(9642, MAY_BE_STRING), /* getConstantExplicitTypeFromConfig $constantName */ + reg::packed(9677, 0, 1454), /* getConstantExplicitTypeFromConfig $constantType */ reg::packed(738, 0, 1454), /* getConstantExplicitTypeFromConfig return */ reg::packed(738, MAY_BE_ARRAY), /* getConstantTypes return */ reg::packed(1550, 0, 1555), /* getGlobalConstantType $name */ reg::packed(738, MAY_BE_NULL, 1454), /* getGlobalConstantType return */ reg::packed(1550, 0, 1555), /* createGlobalConstantFetches $name */ - reg::packed(9739, MAY_BE_STRING), /* createGlobalConstantFetches $nameString */ + reg::packed(9763, MAY_BE_STRING), /* createGlobalConstantFetches $nameString */ reg::packed(227, MAY_BE_NULL | MAY_BE_STRING), /* createGlobalConstantFetches $namespace */ reg::packed(738, MAY_BE_ARRAY), /* createGlobalConstantFetches return */ reg::packed(738, MAY_BE_ARRAY), /* getNativeConstantTypes return */ - reg::packed(5202, 0, 1454), /* getIterableKeyType $iteratee */ + reg::packed(5232, 0, 1454), /* getIterableKeyType $iteratee */ reg::packed(738, 0, 1454), /* getIterableKeyType return */ - reg::packed(5202, 0, 1454), /* getIterableValueType $iteratee */ + reg::packed(5232, 0, 1454), /* getIterableValueType $iteratee */ reg::packed(738, 0, 1454), /* getIterableValueType return */ - reg::packed(738, 0, 9841), /* getPhpVersion return */ - reg::packed(738, 0, 9841), /* resolvePhpVersion return */ + reg::packed(738, 0, 9865), /* getPhpVersion return */ + reg::packed(738, 0, 9865), /* resolvePhpVersion return */ reg::packed(738, MAY_BE_NULL, 1454), /* getConfiguredPhpVersionRange return */ - reg::packed(3938, 0, 1454), /* isOverallPhpVersionRange $type */ + reg::packed(3968, 0, 1454), /* isOverallPhpVersionRange $type */ reg::packed(738, MAY_BE_BOOL), /* isOverallPhpVersionRange return */ - reg::packed(1737, 0, 9951), /* invokeNodeCallback $node */ + reg::packed(1737, 0, 9975), /* invokeNodeCallback $node */ reg::packed(738, MAY_BE_VOID), /* invokeNodeCallback return */ - reg::packed(9985, MAY_BE_STRING), /* emitCollectedData $collectorType */ - reg::packed(9999, MAY_BE_ANY), /* emitCollectedData $data */ + reg::packed(10009, MAY_BE_STRING), /* emitCollectedData $collectorType */ + reg::packed(10023, MAY_BE_ANY), /* emitCollectedData $data */ reg::packed(738, MAY_BE_VOID), /* emitCollectedData return */ - reg::packed(10022, MAY_BE_STRING), /* trackValueDependency $extensionClass */ + reg::packed(10046, MAY_BE_STRING), /* trackValueDependency $extensionClass */ reg::packed(2604, MAY_BE_STRING), /* trackValueDependency $key */ reg::packed(738, MAY_BE_VOID), /* trackValueDependency return */ - reg::packed(10058, MAY_BE_STRING), /* trackFileDependency $file */ + reg::packed(10082, MAY_BE_STRING), /* trackFileDependency $file */ reg::packed(738, MAY_BE_VOID), /* trackFileDependency return */ - reg::packed(10083, MAY_BE_STRING), /* trackDirectoryDependency $directory */ - reg::packed(10093, MAY_BE_STRING, reg::NoString, false, false, 10101), /* trackDirectoryDependency $pattern */ + reg::packed(10107, MAY_BE_STRING), /* trackDirectoryDependency $directory */ + reg::packed(10117, MAY_BE_STRING, reg::NoString, false, false, 10125), /* trackDirectoryDependency $pattern */ reg::packed(738, MAY_BE_VOID), /* trackDirectoryDependency return */ - reg::packed(3041, MAY_BE_STRING), /* trackClassDependency $className */ + reg::packed(3071, MAY_BE_STRING), /* trackClassDependency $className */ reg::packed(738, MAY_BE_VOID), /* trackClassDependency return */ }; using Sig = reg::Sig; @@ -1281,159 +1284,160 @@ inline constexpr sigtab::Sig hasExpressionType = { { 2887 /* hasExpressionType * inline constexpr sigtab::Sig getTrackedExpressionType = { { 2905 /* getTrackedExpressionType */, 1, 144, 1, 145, ZEND_ACC_PUBLIC } }; inline constexpr sigtab::Sig pushInFunctionCall = { { 3004 /* pushInFunctionCall */, 3, 146, 3, 149, ZEND_ACC_PUBLIC } }; inline constexpr sigtab::Sig popInFunctionCall = { { 3023 /* popInFunctionCall */, 0, 150, 0, 150, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig isInClassExists = { { 3051 /* isInClassExists */, 1, 151, 1, 152, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig getFunctionCallStack = { { 3067 /* getFunctionCallStack */, 0, 153, 0, 153, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig getFunctionCallStackWithParameters = { { 3088 /* getFunctionCallStackWithParameters */, 0, 154, 0, 154, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig isInFunctionExists = { { 3136 /* isInFunctionExists */, 1, 155, 1, 156, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig enterClass = { { 3171 /* enterClass */, 1, 157, 1, 158, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig enterTrait = { { 3198 /* enterTrait */, 1, 159, 1, 160, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig enterClassMethod = { { 3742 /* enterClassMethod */, 9, 161, 21, 182, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig enterPropertyHook = { { 3920 /* enterPropertyHook */, 10, 183, 11, 194, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig transformStaticType = { { 3943 /* transformStaticType */, 1, 195, 1, 196, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig getRealParameterTypes = { { 4004 /* getRealParameterTypes */, 1, 197, 1, 198, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig getRealParameterDefaultValues = { { 4026 /* getRealParameterDefaultValues */, 1, 199, 1, 200, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig getParameterAttributes = { { 4146 /* getParameterAttributes */, 1, 201, 1, 202, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig enterFunction = { { 4272 /* enterFunction */, 8, 203, 17, 220, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig enterFunctionLike = { { 4330 /* enterFunctionLike */, 2, 221, 2, 223, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig enterNamespace = { { 4362 /* enterNamespace */, 1, 224, 1, 225, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig enterClosureBind = { { 4414 /* enterClosureBind */, 3, 226, 3, 229, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig restoreOriginalScopeAfterClosureBind = { { 4445 /* restoreOriginalScopeAfterClosureBind */, 1, 230, 1, 231, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig restoreThis = { { 4499 /* restoreThis */, 1, 232, 1, 233, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig enterClosureCall = { { 4511 /* enterClosureCall */, 2, 234, 2, 236, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig isInClosureBind = { { 4528 /* isInClosureBind */, 0, 237, 0, 237, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig withClosureBindScopeClasses = { { 4544 /* withClosureBindScopeClasses */, 1, 238, 1, 239, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig enterAnonymousFunction = { { 4652 /* enterAnonymousFunction */, 2, 240, 3, 243, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig enterAnonymousFunctionWithoutReflection = { { 4675 /* enterAnonymousFunctionWithoutReflection */, 3, 244, 3, 247, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig expressionTypeIsUnchangeable = { { 4764 /* expressionTypeIsUnchangeable */, 1, 248, 1, 249, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig invalidateStaticExpressions = { { 4793 /* invalidateStaticExpressions */, 1, 250, 1, 251, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig enterArrowFunction = { { 4869 /* enterArrowFunction */, 2, 252, 3, 255, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig enterArrowFunctionWithoutReflection = { { 4888 /* enterArrowFunctionWithoutReflection */, 3, 256, 3, 259, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig isParameterValueNullable = { { 4945 /* isParameterValueNullable */, 1, 260, 1, 261, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig getFunctionType = { { 4992 /* getFunctionType */, 3, 262, 3, 265, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig getCallableParameterType = { { 5014 /* getCallableParameterType */, 3, 266, 3, 269, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig buildVariadicArrayTypeFromCallableParameters = { { 5050 /* buildVariadicArrayTypeFromCallableParameters */, 2, 270, 2, 272, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig intersectButNotNever = { { 5119 /* intersectButNotNever */, 2, 273, 2, 275, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC } }; -inline constexpr sigtab::Sig enterMatch = { { 5191 /* enterMatch */, 3, 276, 3, 279, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig enterForeach = { { 5272 /* enterForeach */, 7, 280, 7, 287, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig enterForeachKey = { { 5285 /* enterForeachKey */, 5, 288, 5, 293, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig enterCatchType = { { 5311 /* enterCatchType */, 2, 294, 2, 296, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig enterExpressionAssign = { { 5339 /* enterExpressionAssign */, 1, 297, 2, 299, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig exitExpressionAssign = { { 5361 /* exitExpressionAssign */, 1, 300, 1, 301, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig isInExpressionAssign = { { 5382 /* isInExpressionAssign */, 1, 302, 1, 303, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig isInWriteExpressionAssign = { { 5403 /* isInWriteExpressionAssign */, 1, 304, 1, 305, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig setAllowedUndefinedExpression = { { 5429 /* setAllowedUndefinedExpression */, 1, 306, 1, 307, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig unsetAllowedUndefinedExpression = { { 5459 /* unsetAllowedUndefinedExpression */, 1, 308, 1, 309, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig isUndefinedExpressionAllowed = { { 5491 /* isUndefinedExpressionAllowed */, 1, 310, 1, 311, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig assignVariable = { { 5556 /* assignVariable */, 4, 312, 5, 317, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig overwriteExpression = { { 5571 /* overwriteExpression */, 3, 318, 3, 321, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig resolveIntertwinedAssignedType = { { 5643 /* resolveIntertwinedAssignedType */, 5, 322, 5, 327, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig isDimFetchPathReachable = { { 5717 /* isDimFetchPathReachable */, 2, 328, 2, 330, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig unsetExpression = { { 5741 /* unsetExpression */, 1, 331, 1, 332, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig getStateType = { { 5757 /* getStateType */, 1, 333, 1, 334, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig getScopeStateType = { { 5770 /* getScopeStateType */, 1, 335, 1, 336, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig getScopeStateNativeType = { { 5788 /* getScopeStateNativeType */, 1, 337, 1, 338, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig resolveScopeStateType = { { 5812 /* resolveScopeStateType */, 2, 339, 2, 341, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig specifyExpressionType = { { 5834 /* specifyExpressionType */, 4, 342, 4, 346, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig openSpecificationScope = { { 5856 /* openSpecificationScope */, 0, 347, 0, 347, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig isSpecifyExpressionTypeNoop = { { 5879 /* isSpecifyExpressionTypeNoop */, 2, 348, 2, 350, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig specifyExpressionTypeInPlace = { { 5907 /* specifyExpressionTypeInPlace */, 4, 351, 4, 355, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig assignExpression = { { 5936 /* assignExpression */, 3, 356, 3, 359, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig assignInitializedProperty = { { 5967 /* assignInitializedProperty */, 2, 360, 2, 362, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig invalidateExpression = { { 6099 /* invalidateExpression */, 1, 363, 5, 368, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig assignObjectAlias = { { 6120 /* assignObjectAlias */, 2, 369, 3, 372, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig holdsSameObject = { { 6148 /* holdsSameObject */, 2, 373, 2, 375, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig specifyObjectAlias = { { 6176 /* specifyObjectAlias */, 3, 376, 3, 379, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig getObjectAliasRootVariableName = { { 6195 /* getObjectAliasRootVariableName */, 1, 380, 1, 381, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig getObjectAliasEdges = { { 6226 /* getObjectAliasEdges */, 0, 382, 0, 382, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig getPropertyFetchChainPrefixes = { { 6258 /* getPropertyFetchChainPrefixes */, 2, 383, 2, 385, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig findObjectAliasClass = { { 6294 /* findObjectAliasClass */, 2, 386, 2, 388, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig findObjectAliasInvalidationTargets = { { 6315 /* findObjectAliasInvalidationTargets */, 3, 389, 3, 392, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig reconnectObjectAliases = { { 6358 /* reconnectObjectAliases */, 2, 393, 2, 395, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig invalidateExpressionWithoutAliases = { { 6381 /* invalidateExpressionWithoutAliases */, 5, 396, 5, 401, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig isPrivatePropertyOfDifferentClass = { { 6416 /* isPrivatePropertyOfDifferentClass */, 2, 402, 2, 404, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig invalidateMethodsOnExpression = { { 6450 /* invalidateMethodsOnExpression */, 1, 405, 1, 406, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig setExpressionCertaintyKeepingType = { { 6480 /* setExpressionCertaintyKeepingType */, 2, 407, 2, 409, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig removeArraysWithoutOffsetValueType = { { 6546 /* removeArraysWithoutOffsetValueType */, 3, 410, 3, 413, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; -inline constexpr sigtab::Sig isComplexUnionType = { { 6581 /* isComplexUnionType */, 1, 414, 1, 415, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig addTypeToExpression = { { 6600 /* addTypeToExpression */, 2, 416, 2, 418, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig removeTypeFromExpression = { { 6633 /* removeTypeFromExpression */, 2, 419, 2, 421, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig filterByTruthyValue = { { 6658 /* filterByTruthyValue */, 1, 422, 1, 423, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig filterByFalseyValue = { { 6678 /* filterByFalseyValue */, 1, 424, 1, 425, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig applySpecifiedTypes = { { 6713 /* applySpecifiedTypes */, 1, 426, 1, 427, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig respecifyRelationalFacts = { { 6752 /* respecifyRelationalFacts */, 1, 428, 1, 429, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig applySpecifiedTypesBatch = { { 6777 /* applySpecifiedTypesBatch */, 1, 430, 1, 431, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig processConditionalExpressionsAfterSpecifying = { { 6823 /* processConditionalExpressionsAfterSpecifying */, 1, 432, 1, 433, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig getConditionalExpressions = { { 6868 /* getConditionalExpressions */, 0, 434, 0, 434, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig addConditionalExpressions = { { 6923 /* addConditionalExpressions */, 2, 435, 2, 437, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig exitFirstLevelStatements = { { 6949 /* exitFirstLevelStatements */, 0, 438, 0, 438, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig isInFirstLevelStatement = { { 6974 /* isInFirstLevelStatement */, 0, 439, 0, 439, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig mergeWith = { { 7053 /* mergeWith */, 1, 440, 3, 443, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig completeOffsetWriteBases = { { 7129 /* completeOffsetWriteBases */, 5, 444, 5, 449, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig completeOffsetWriteBase = { { 7179 /* completeOffsetWriteBase */, 4, 450, 4, 454, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig collectAbsorbedClosures = { { 7215 /* collectAbsorbedClosures */, 2, 455, 2, 457, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig mergeWithVariableState = { { 7239 /* mergeWithVariableState */, 3, 458, 3, 461, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig findMergedCallCandidates = { { 7308 /* findMergedCallCandidates */, 2, 462, 2, 464, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; -inline constexpr sigtab::Sig hasNarrowableArgument = { { 7429 /* hasNarrowableArgument */, 1, 465, 1, 466, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; -inline constexpr sigtab::Sig findUninformativeMergedCalls = { { 7480 /* findUninformativeMergedCalls */, 2, 467, 2, 469, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig withoutPreciseClassConstantFetches = { { 7549 /* withoutPreciseClassConstantFetches */, 3, 470, 3, 473, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig preserveVacuousConditionalExpressions = { { 7664 /* preserveVacuousConditionalExpressions */, 4, 474, 4, 478, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig isAboutCall = { { 7747 /* isAboutCall */, 1, 479, 1, 480, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; -inline constexpr sigtab::Sig mergeSameGuardConditionalExpressions = { { 7813 /* mergeSameGuardConditionalExpressions */, 3, 481, 3, 484, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig mergeConditionalExpressions = { { 7907 /* mergeConditionalExpressions */, 2, 485, 2, 487, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig mergeInitializedProperties = { { 7953 /* mergeInitializedProperties */, 1, 488, 1, 489, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig processFinallyScope = { { 8014 /* processFinallyScope */, 2, 490, 2, 492, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig processFinallyScopeVariableTypeHolders = { { 8112 /* processFinallyScopeVariableTypeHolders */, 3, 493, 3, 496, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig processClosureScope = { { 8184 /* processClosureScope */, 3, 497, 3, 500, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig processAlwaysIterableForeachScopeWithoutPollute = { { 8215 /* processAlwaysIterableForeachScopeWithoutPollute */, 1, 501, 1, 502, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig forgetLoopWrittenVariables = { { 8284 /* forgetLoopWrittenVariables */, 1, 503, 1, 504, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig forgetChangedLoopVariables = { { 8325 /* forgetChangedLoopVariables */, 2, 505, 2, 507, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig getChangedVariableNames = { { 8352 /* getChangedVariableNames */, 1, 508, 1, 509, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig generalizeIteratedType = { { 8389 /* generalizeIteratedType */, 2, 510, 2, 512, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig generalizeWith = { { 8449 /* generalizeWith */, 1, 513, 3, 516, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig generalizeWithVariableState = { { 8464 /* generalizeWithVariableState */, 3, 517, 3, 520, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig withoutWidenedConditionalExpressions = { { 8519 /* withoutWidenedConditionalExpressions */, 3, 521, 3, 524, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; -inline constexpr sigtab::Sig generalizeVariableTypeHolders = { { 8626 /* generalizeVariableTypeHolders */, 4, 525, 4, 529, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig flattenUnionForGeneralization = { { 8656 /* flattenUnionForGeneralization */, 1, 530, 1, 531, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig generalizeType = { { 8706 /* generalizeType */, 3, 532, 4, 536, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig generalizeConstantFloats = { { 8739 /* generalizeConstantFloats */, 4, 537, 4, 541, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig generalizeShapesKeyByKey = { { 8774 /* generalizeShapesKeyByKey */, 5, 542, 5, 547, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig pairShapes = { { 8799 /* pairShapes */, 2, 548, 2, 550, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; -inline constexpr sigtab::Sig getRequiredKeysSignature = { { 8856 /* getRequiredKeysSignature */, 1, 551, 1, 552, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; -inline constexpr sigtab::Sig getArrayDepth = { { 8881 /* getArrayDepth */, 1, 553, 1, 554, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; -inline constexpr sigtab::Sig equals = { { 8895 /* equals */, 1, 555, 1, 556, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig compareConditionalExpressions = { { 8930 /* compareConditionalExpressions */, 2, 557, 2, 559, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig compareVariableTypeHolders = { { 8960 /* compareVariableTypeHolders */, 2, 560, 2, 562, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig canAccessProperty = { { 9044 /* canAccessProperty */, 1, 563, 1, 564, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig canReadProperty = { { 9108 /* canReadProperty */, 1, 565, 1, 566, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig canWriteProperty = { { 9124 /* canWriteProperty */, 1, 567, 1, 568, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig canCallMethod = { { 9194 /* canCallMethod */, 1, 569, 1, 570, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig canAccessConstant = { { 9270 /* canAccessConstant */, 1, 571, 1, 572, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig canAccessClassMember = { { 9351 /* canAccessClassMember */, 1, 573, 1, 574, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig debug = { { 9372 /* debug */, 0, 575, 0, 575, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig filterTypeWithMethod = { { 9404 /* filterTypeWithMethod */, 2, 576, 2, 578, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig getMethodReflection = { { 9469 /* getMethodReflection */, 2, 579, 2, 581, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig getNakedMethod = { { 9489 /* getNakedMethod */, 2, 582, 2, 584, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig getPropertyReflection = { { 9521 /* getPropertyReflection */, 2, 585, 2, 587, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig getInstancePropertyReflection = { { 9543 /* getInstancePropertyReflection */, 2, 588, 2, 590, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig getStaticPropertyReflection = { { 9573 /* getStaticPropertyReflection */, 2, 591, 2, 593, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig getConstantReflection = { { 9631 /* getConstantReflection */, 2, 594, 2, 596, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig getConstantExplicitTypeFromConfig = { { 9666 /* getConstantExplicitTypeFromConfig */, 2, 597, 2, 599, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig getConstantTypes = { { 9700 /* getConstantTypes */, 0, 600, 0, 600, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig getGlobalConstantType = { { 9717 /* getGlobalConstantType */, 1, 601, 1, 602, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig createGlobalConstantFetches = { { 9750 /* createGlobalConstantFetches */, 3, 603, 3, 606, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; -inline constexpr sigtab::Sig getNativeConstantTypes = { { 9778 /* getNativeConstantTypes */, 0, 607, 0, 607, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig getIterableKeyType = { { 9801 /* getIterableKeyType */, 1, 608, 1, 609, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig getIterableValueType = { { 9820 /* getIterableValueType */, 1, 610, 1, 611, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig getPhpVersion = { { 9865 /* getPhpVersion */, 0, 612, 0, 612, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig resolvePhpVersion = { { 9879 /* resolvePhpVersion */, 0, 613, 0, 613, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig getConfiguredPhpVersionRange = { { 9897 /* getConfiguredPhpVersionRange */, 0, 614, 0, 614, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig isOverallPhpVersionRange = { { 9926 /* isOverallPhpVersionRange */, 1, 615, 1, 616, ZEND_ACC_PRIVATE } }; -inline constexpr sigtab::Sig invokeNodeCallback = { { 9966 /* invokeNodeCallback */, 1, 617, 1, 618, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig emitCollectedData = { { 10004 /* emitCollectedData */, 2, 619, 2, 621, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig trackValueDependency = { { 10037 /* trackValueDependency */, 2, 622, 2, 624, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig trackFileDependency = { { 10063 /* trackFileDependency */, 1, 625, 1, 626, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig trackDirectoryDependency = { { 10105 /* trackDirectoryDependency */, 1, 627, 2, 629, ZEND_ACC_PUBLIC } }; -inline constexpr sigtab::Sig trackClassDependency = { { 10130 /* trackClassDependency */, 1, 630, 1, 631, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig withFunctionCallStackOf = { { 3047 /* withFunctionCallStackOf */, 1, 151, 1, 152, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig isInClassExists = { { 3081 /* isInClassExists */, 1, 153, 1, 154, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig getFunctionCallStack = { { 3097 /* getFunctionCallStack */, 0, 155, 0, 155, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig getFunctionCallStackWithParameters = { { 3118 /* getFunctionCallStackWithParameters */, 0, 156, 0, 156, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig isInFunctionExists = { { 3166 /* isInFunctionExists */, 1, 157, 1, 158, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig enterClass = { { 3201 /* enterClass */, 1, 159, 1, 160, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig enterTrait = { { 3228 /* enterTrait */, 1, 161, 1, 162, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig enterClassMethod = { { 3772 /* enterClassMethod */, 9, 163, 21, 184, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig enterPropertyHook = { { 3950 /* enterPropertyHook */, 10, 185, 11, 196, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig transformStaticType = { { 3973 /* transformStaticType */, 1, 197, 1, 198, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig getRealParameterTypes = { { 4034 /* getRealParameterTypes */, 1, 199, 1, 200, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig getRealParameterDefaultValues = { { 4056 /* getRealParameterDefaultValues */, 1, 201, 1, 202, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig getParameterAttributes = { { 4176 /* getParameterAttributes */, 1, 203, 1, 204, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig enterFunction = { { 4302 /* enterFunction */, 8, 205, 17, 222, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig enterFunctionLike = { { 4360 /* enterFunctionLike */, 2, 223, 2, 225, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig enterNamespace = { { 4392 /* enterNamespace */, 1, 226, 1, 227, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig enterClosureBind = { { 4444 /* enterClosureBind */, 3, 228, 3, 231, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig restoreOriginalScopeAfterClosureBind = { { 4475 /* restoreOriginalScopeAfterClosureBind */, 1, 232, 1, 233, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig restoreThis = { { 4529 /* restoreThis */, 1, 234, 1, 235, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig enterClosureCall = { { 4541 /* enterClosureCall */, 2, 236, 2, 238, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig isInClosureBind = { { 4558 /* isInClosureBind */, 0, 239, 0, 239, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig withClosureBindScopeClasses = { { 4574 /* withClosureBindScopeClasses */, 1, 240, 1, 241, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig enterAnonymousFunction = { { 4682 /* enterAnonymousFunction */, 2, 242, 3, 245, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig enterAnonymousFunctionWithoutReflection = { { 4705 /* enterAnonymousFunctionWithoutReflection */, 3, 246, 3, 249, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig expressionTypeIsUnchangeable = { { 4794 /* expressionTypeIsUnchangeable */, 1, 250, 1, 251, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig invalidateStaticExpressions = { { 4823 /* invalidateStaticExpressions */, 1, 252, 1, 253, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig enterArrowFunction = { { 4899 /* enterArrowFunction */, 2, 254, 3, 257, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig enterArrowFunctionWithoutReflection = { { 4918 /* enterArrowFunctionWithoutReflection */, 3, 258, 3, 261, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig isParameterValueNullable = { { 4975 /* isParameterValueNullable */, 1, 262, 1, 263, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig getFunctionType = { { 5022 /* getFunctionType */, 3, 264, 3, 267, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig getCallableParameterType = { { 5044 /* getCallableParameterType */, 3, 268, 3, 271, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig buildVariadicArrayTypeFromCallableParameters = { { 5080 /* buildVariadicArrayTypeFromCallableParameters */, 2, 272, 2, 274, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig intersectButNotNever = { { 5149 /* intersectButNotNever */, 2, 275, 2, 277, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC } }; +inline constexpr sigtab::Sig enterMatch = { { 5221 /* enterMatch */, 3, 278, 3, 281, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig enterForeach = { { 5302 /* enterForeach */, 7, 282, 7, 289, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig enterForeachKey = { { 5315 /* enterForeachKey */, 5, 290, 5, 295, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig enterCatchType = { { 5341 /* enterCatchType */, 2, 296, 2, 298, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig enterExpressionAssign = { { 5369 /* enterExpressionAssign */, 1, 299, 2, 301, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig exitExpressionAssign = { { 5391 /* exitExpressionAssign */, 1, 302, 1, 303, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig isInExpressionAssign = { { 5412 /* isInExpressionAssign */, 1, 304, 1, 305, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig isInWriteExpressionAssign = { { 5433 /* isInWriteExpressionAssign */, 1, 306, 1, 307, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig setAllowedUndefinedExpression = { { 5459 /* setAllowedUndefinedExpression */, 1, 308, 1, 309, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig unsetAllowedUndefinedExpression = { { 5489 /* unsetAllowedUndefinedExpression */, 1, 310, 1, 311, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig isUndefinedExpressionAllowed = { { 5521 /* isUndefinedExpressionAllowed */, 1, 312, 1, 313, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig assignVariable = { { 5586 /* assignVariable */, 4, 314, 5, 319, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig overwriteExpression = { { 5601 /* overwriteExpression */, 3, 320, 3, 323, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig resolveIntertwinedAssignedType = { { 5667 /* resolveIntertwinedAssignedType */, 5, 324, 5, 329, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig isDimFetchPathReachable = { { 5741 /* isDimFetchPathReachable */, 2, 330, 2, 332, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig unsetExpression = { { 5765 /* unsetExpression */, 1, 333, 1, 334, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig getStateType = { { 5781 /* getStateType */, 1, 335, 1, 336, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig getScopeStateType = { { 5794 /* getScopeStateType */, 1, 337, 1, 338, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig getScopeStateNativeType = { { 5812 /* getScopeStateNativeType */, 1, 339, 1, 340, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig resolveScopeStateType = { { 5836 /* resolveScopeStateType */, 2, 341, 2, 343, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig specifyExpressionType = { { 5858 /* specifyExpressionType */, 4, 344, 4, 348, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig openSpecificationScope = { { 5880 /* openSpecificationScope */, 0, 349, 0, 349, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig isSpecifyExpressionTypeNoop = { { 5903 /* isSpecifyExpressionTypeNoop */, 2, 350, 2, 352, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig specifyExpressionTypeInPlace = { { 5931 /* specifyExpressionTypeInPlace */, 4, 353, 4, 357, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig assignExpression = { { 5960 /* assignExpression */, 3, 358, 3, 361, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig assignInitializedProperty = { { 5991 /* assignInitializedProperty */, 2, 362, 2, 364, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig invalidateExpression = { { 6123 /* invalidateExpression */, 1, 365, 5, 370, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig assignObjectAlias = { { 6144 /* assignObjectAlias */, 2, 371, 3, 374, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig holdsSameObject = { { 6172 /* holdsSameObject */, 2, 375, 2, 377, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig specifyObjectAlias = { { 6200 /* specifyObjectAlias */, 3, 378, 3, 381, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig getObjectAliasRootVariableName = { { 6219 /* getObjectAliasRootVariableName */, 1, 382, 1, 383, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig getObjectAliasEdges = { { 6250 /* getObjectAliasEdges */, 0, 384, 0, 384, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig getPropertyFetchChainPrefixes = { { 6282 /* getPropertyFetchChainPrefixes */, 2, 385, 2, 387, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig findObjectAliasClass = { { 6318 /* findObjectAliasClass */, 2, 388, 2, 390, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig findObjectAliasInvalidationTargets = { { 6339 /* findObjectAliasInvalidationTargets */, 3, 391, 3, 394, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig reconnectObjectAliases = { { 6382 /* reconnectObjectAliases */, 2, 395, 2, 397, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig invalidateExpressionWithoutAliases = { { 6405 /* invalidateExpressionWithoutAliases */, 5, 398, 5, 403, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig isPrivatePropertyOfDifferentClass = { { 6440 /* isPrivatePropertyOfDifferentClass */, 2, 404, 2, 406, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig invalidateMethodsOnExpression = { { 6474 /* invalidateMethodsOnExpression */, 1, 407, 1, 408, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig setExpressionCertaintyKeepingType = { { 6504 /* setExpressionCertaintyKeepingType */, 2, 409, 2, 411, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig removeArraysWithoutOffsetValueType = { { 6570 /* removeArraysWithoutOffsetValueType */, 3, 412, 3, 415, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; +inline constexpr sigtab::Sig isComplexUnionType = { { 6605 /* isComplexUnionType */, 1, 416, 1, 417, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig addTypeToExpression = { { 6624 /* addTypeToExpression */, 2, 418, 2, 420, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig removeTypeFromExpression = { { 6657 /* removeTypeFromExpression */, 2, 421, 2, 423, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig filterByTruthyValue = { { 6682 /* filterByTruthyValue */, 1, 424, 1, 425, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig filterByFalseyValue = { { 6702 /* filterByFalseyValue */, 1, 426, 1, 427, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig applySpecifiedTypes = { { 6737 /* applySpecifiedTypes */, 1, 428, 1, 429, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig respecifyRelationalFacts = { { 6776 /* respecifyRelationalFacts */, 1, 430, 1, 431, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig applySpecifiedTypesBatch = { { 6801 /* applySpecifiedTypesBatch */, 1, 432, 1, 433, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig processConditionalExpressionsAfterSpecifying = { { 6847 /* processConditionalExpressionsAfterSpecifying */, 1, 434, 1, 435, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig getConditionalExpressions = { { 6892 /* getConditionalExpressions */, 0, 436, 0, 436, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig addConditionalExpressions = { { 6947 /* addConditionalExpressions */, 2, 437, 2, 439, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig exitFirstLevelStatements = { { 6973 /* exitFirstLevelStatements */, 0, 440, 0, 440, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig isInFirstLevelStatement = { { 6998 /* isInFirstLevelStatement */, 0, 441, 0, 441, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig mergeWith = { { 7077 /* mergeWith */, 1, 442, 3, 445, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig completeOffsetWriteBases = { { 7153 /* completeOffsetWriteBases */, 5, 446, 5, 451, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig completeOffsetWriteBase = { { 7203 /* completeOffsetWriteBase */, 4, 452, 4, 456, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig collectAbsorbedClosures = { { 7239 /* collectAbsorbedClosures */, 2, 457, 2, 459, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig mergeWithVariableState = { { 7263 /* mergeWithVariableState */, 3, 460, 3, 463, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig findMergedCallCandidates = { { 7332 /* findMergedCallCandidates */, 2, 464, 2, 466, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; +inline constexpr sigtab::Sig hasNarrowableArgument = { { 7453 /* hasNarrowableArgument */, 1, 467, 1, 468, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; +inline constexpr sigtab::Sig findUninformativeMergedCalls = { { 7504 /* findUninformativeMergedCalls */, 2, 469, 2, 471, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig withoutPreciseClassConstantFetches = { { 7573 /* withoutPreciseClassConstantFetches */, 3, 472, 3, 475, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig preserveVacuousConditionalExpressions = { { 7688 /* preserveVacuousConditionalExpressions */, 4, 476, 4, 480, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig isAboutCall = { { 7771 /* isAboutCall */, 1, 481, 1, 482, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; +inline constexpr sigtab::Sig mergeSameGuardConditionalExpressions = { { 7837 /* mergeSameGuardConditionalExpressions */, 3, 483, 3, 486, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig mergeConditionalExpressions = { { 7931 /* mergeConditionalExpressions */, 2, 487, 2, 489, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig mergeInitializedProperties = { { 7977 /* mergeInitializedProperties */, 1, 490, 1, 491, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig processFinallyScope = { { 8038 /* processFinallyScope */, 2, 492, 2, 494, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig processFinallyScopeVariableTypeHolders = { { 8136 /* processFinallyScopeVariableTypeHolders */, 3, 495, 3, 498, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig processClosureScope = { { 8208 /* processClosureScope */, 3, 499, 3, 502, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig processAlwaysIterableForeachScopeWithoutPollute = { { 8239 /* processAlwaysIterableForeachScopeWithoutPollute */, 1, 503, 1, 504, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig forgetLoopWrittenVariables = { { 8308 /* forgetLoopWrittenVariables */, 1, 505, 1, 506, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig forgetChangedLoopVariables = { { 8349 /* forgetChangedLoopVariables */, 2, 507, 2, 509, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig getChangedVariableNames = { { 8376 /* getChangedVariableNames */, 1, 510, 1, 511, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig generalizeIteratedType = { { 8413 /* generalizeIteratedType */, 2, 512, 2, 514, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig generalizeWith = { { 8473 /* generalizeWith */, 1, 515, 3, 518, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig generalizeWithVariableState = { { 8488 /* generalizeWithVariableState */, 3, 519, 3, 522, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig withoutWidenedConditionalExpressions = { { 8543 /* withoutWidenedConditionalExpressions */, 3, 523, 3, 526, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; +inline constexpr sigtab::Sig generalizeVariableTypeHolders = { { 8650 /* generalizeVariableTypeHolders */, 4, 527, 4, 531, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig flattenUnionForGeneralization = { { 8680 /* flattenUnionForGeneralization */, 1, 532, 1, 533, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig generalizeType = { { 8730 /* generalizeType */, 3, 534, 4, 538, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig generalizeConstantFloats = { { 8763 /* generalizeConstantFloats */, 4, 539, 4, 543, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig generalizeShapesKeyByKey = { { 8798 /* generalizeShapesKeyByKey */, 5, 544, 5, 549, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig pairShapes = { { 8823 /* pairShapes */, 2, 550, 2, 552, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; +inline constexpr sigtab::Sig getRequiredKeysSignature = { { 8880 /* getRequiredKeysSignature */, 1, 553, 1, 554, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; +inline constexpr sigtab::Sig getArrayDepth = { { 8905 /* getArrayDepth */, 1, 555, 1, 556, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; +inline constexpr sigtab::Sig equals = { { 8919 /* equals */, 1, 557, 1, 558, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig compareConditionalExpressions = { { 8954 /* compareConditionalExpressions */, 2, 559, 2, 561, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig compareVariableTypeHolders = { { 8984 /* compareVariableTypeHolders */, 2, 562, 2, 564, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig canAccessProperty = { { 9068 /* canAccessProperty */, 1, 565, 1, 566, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig canReadProperty = { { 9132 /* canReadProperty */, 1, 567, 1, 568, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig canWriteProperty = { { 9148 /* canWriteProperty */, 1, 569, 1, 570, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig canCallMethod = { { 9218 /* canCallMethod */, 1, 571, 1, 572, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig canAccessConstant = { { 9294 /* canAccessConstant */, 1, 573, 1, 574, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig canAccessClassMember = { { 9375 /* canAccessClassMember */, 1, 575, 1, 576, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig debug = { { 9396 /* debug */, 0, 577, 0, 577, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig filterTypeWithMethod = { { 9428 /* filterTypeWithMethod */, 2, 578, 2, 580, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig getMethodReflection = { { 9493 /* getMethodReflection */, 2, 581, 2, 583, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig getNakedMethod = { { 9513 /* getNakedMethod */, 2, 584, 2, 586, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig getPropertyReflection = { { 9545 /* getPropertyReflection */, 2, 587, 2, 589, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig getInstancePropertyReflection = { { 9567 /* getInstancePropertyReflection */, 2, 590, 2, 592, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig getStaticPropertyReflection = { { 9597 /* getStaticPropertyReflection */, 2, 593, 2, 595, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig getConstantReflection = { { 9655 /* getConstantReflection */, 2, 596, 2, 598, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig getConstantExplicitTypeFromConfig = { { 9690 /* getConstantExplicitTypeFromConfig */, 2, 599, 2, 601, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig getConstantTypes = { { 9724 /* getConstantTypes */, 0, 602, 0, 602, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig getGlobalConstantType = { { 9741 /* getGlobalConstantType */, 1, 603, 1, 604, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig createGlobalConstantFetches = { { 9774 /* createGlobalConstantFetches */, 3, 605, 3, 608, ZEND_ACC_PRIVATE | ZEND_ACC_STATIC } }; +inline constexpr sigtab::Sig getNativeConstantTypes = { { 9802 /* getNativeConstantTypes */, 0, 609, 0, 609, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig getIterableKeyType = { { 9825 /* getIterableKeyType */, 1, 610, 1, 611, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig getIterableValueType = { { 9844 /* getIterableValueType */, 1, 612, 1, 613, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig getPhpVersion = { { 9889 /* getPhpVersion */, 0, 614, 0, 614, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig resolvePhpVersion = { { 9903 /* resolvePhpVersion */, 0, 615, 0, 615, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig getConfiguredPhpVersionRange = { { 9921 /* getConfiguredPhpVersionRange */, 0, 616, 0, 616, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig isOverallPhpVersionRange = { { 9950 /* isOverallPhpVersionRange */, 1, 617, 1, 618, ZEND_ACC_PRIVATE } }; +inline constexpr sigtab::Sig invokeNodeCallback = { { 9990 /* invokeNodeCallback */, 1, 619, 1, 620, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig emitCollectedData = { { 10028 /* emitCollectedData */, 2, 621, 2, 623, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig trackValueDependency = { { 10061 /* trackValueDependency */, 2, 624, 2, 626, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig trackFileDependency = { { 10087 /* trackFileDependency */, 1, 627, 1, 628, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig trackDirectoryDependency = { { 10129 /* trackDirectoryDependency */, 1, 629, 2, 631, ZEND_ACC_PUBLIC } }; +inline constexpr sigtab::Sig trackClassDependency = { { 10154 /* trackClassDependency */, 1, 632, 1, 633, ZEND_ACC_PUBLIC } }; } // namespace sig } // namespace ptdecl::MutatingScope diff --git a/turbo-ext/src/support.h b/turbo-ext/src/support.h index a732c810987..d7e90a06eae 100644 --- a/turbo-ext/src/support.h +++ b/turbo-ext/src/support.h @@ -3592,6 +3592,7 @@ zv::Val pt_variable_flow_builder_writes(zval *flow); * $nativeIterateeType, $valueName, $keyName, $valueByRef) ($keyName NULL for * null) / ->enterForeachKey(...) / ->enterCatchType($catchType, * $variableName) ($variableName NULL for null) / + * ->withFunctionCallStackOf($scope) / * ->processFinallyScope($finallyScope, $originalFinallyScope) / * ->processAlwaysIterableForeachScopeWithoutPollute($finalScope): the native * body for exactly a MutatingScope, the method otherwise (everything @@ -3604,6 +3605,7 @@ zv::Val pt_mutating_scope_forget_changed_loop_variables(zend_object *scope, zend zv::Val pt_mutating_scope_enter_foreach(zend_object *scope, zend_object *originalScope, zval *iteratee, zval *iterateeType, zval *nativeIterateeType, zend_string *valueName, zend_string *keyName, bool valueByRef); zv::Val pt_mutating_scope_enter_foreach_key(zend_object *scope, zend_object *originalScope, zval *iteratee, zval *iterateeType, zval *nativeIterateeType, zend_string *keyName); zv::Val pt_mutating_scope_enter_catch_type(zend_object *scope, zval *catchType, zend_string *variableName); +zv::Val pt_mutating_scope_with_function_call_stack_of(zend_object *scope, zend_object *otherScope); zv::Val pt_mutating_scope_process_finally_scope(zend_object *scope, zend_object *finallyScope, zend_object *originalFinallyScope); zv::Val pt_mutating_scope_process_always_iterable_foreach_scope_without_pollute(zend_object *scope, zend_object *finalScope); From def35878d15386fe80815bfc63e1360d9ab44837 Mon Sep 17 00:00:00 2001 From: ChrisAbner Date: Wed, 28 Oct 2026 14:53:14 -0500 Subject: [PATCH 3/3] Keep the function call stack in the other scope derivations mergeWith(), enter/exitExpressionAssign(), set/unsetAllowedUndefinedExpression(), processFinallyScope(), processAlwaysIterableForeachScopeWithoutPollute(), generalizeWithVariableState(), withRecordedStatementDelta() and the Closure::bind()/call() derivations rebuilt the scope with an empty $inFunctionCallsStack. Inside a closure passed as an argument, any if/else, ternary, ??, isset(), loop or try/finally emptied Scope::getFunctionCallStack() for the rest of the closure. They now keep the stack; only entering a call, a class, a function or a namespace changes it. --- src/Analyser/MutatingScope.php | 23 +++++---- .../Rules/ScopeFunctionCallStackRuleTest.php | 48 +++++++++++++++++++ ...unctionCallStackWithParametersRuleTest.php | 48 +++++++++++++++++++ tests/PHPStan/Rules/data/bug-15377.php | 28 +++++++++++ turbo-ext/src/MutatingScope.cpp | 25 ++++++---- 5 files changed, 153 insertions(+), 19 deletions(-) diff --git a/src/Analyser/MutatingScope.php b/src/Analyser/MutatingScope.php index 21f2788ebd6..d10bf609bdf 100644 --- a/src/Analyser/MutatingScope.php +++ b/src/Analyser/MutatingScope.php @@ -1508,7 +1508,7 @@ public function withRecordedStatementDelta(self $recordedEntry, self $recordedEx $conditionalExpressions, [], [], - [], + $this->inFunctionCallsStack, $this->inFirstLevelStatement, $recordedExit->afterExtractCall, ); @@ -2359,6 +2359,7 @@ public function enterClosureBind(?Type $thisType, ?Type $nativeThisType, array $ $this->conditionalExpressions, $scopeClasses, $this->anonymousFunctionReflection, + inFunctionCallsStack: $this->inFunctionCallsStack, templateArgumentFrame: $this->templateArgumentFrame, templateArgumentConstraints: $this->templateArgumentConstraints, ); @@ -2390,6 +2391,7 @@ public function restoreOriginalScopeAfterClosureBind(self $originalScope): self $this->conditionalExpressions, $originalScope->inClosureBindScopeClasses, $this->anonymousFunctionReflection, + inFunctionCallsStack: $this->inFunctionCallsStack, templateArgumentFrame: $this->templateArgumentFrame, templateArgumentConstraints: $this->templateArgumentConstraints, ); @@ -2461,6 +2463,7 @@ public function enterClosureCall(Type $thisType, Type $nativeThisType): self $this->conditionalExpressions, $thisType->getObjectClassNames(), $this->anonymousFunctionReflection, + inFunctionCallsStack: $this->inFunctionCallsStack, templateArgumentFrame: $this->templateArgumentFrame, templateArgumentConstraints: $this->templateArgumentConstraints, ); @@ -3067,7 +3070,7 @@ public function enterExpressionAssign(Expr $expr, bool $isPlainWrite = true): se $this->isInFirstLevelStatement(), $currentlyAssignedExpressions, $this->currentlyAllowedUndefinedExpressions, - [], + $this->inFunctionCallsStack, $this->afterExtractCall, $this->parentScope, $this->nativeTypesPromoted, @@ -3098,7 +3101,7 @@ public function exitExpressionAssign(Expr $expr): self $this->isInFirstLevelStatement(), $currentlyAssignedExpressions, $this->currentlyAllowedUndefinedExpressions, - [], + $this->inFunctionCallsStack, $this->afterExtractCall, $this->parentScope, $this->nativeTypesPromoted, @@ -3159,7 +3162,7 @@ public function setAllowedUndefinedExpression(Expr $expr): self $this->isInFirstLevelStatement(), $this->currentlyAssignedExpressions, $currentlyAllowedUndefinedExpressions, - [], + $this->inFunctionCallsStack, $this->afterExtractCall, $this->parentScope, $this->nativeTypesPromoted, @@ -3190,7 +3193,7 @@ public function unsetAllowedUndefinedExpression(Expr $expr): self $this->isInFirstLevelStatement(), $this->currentlyAssignedExpressions, $currentlyAllowedUndefinedExpressions, - [], + $this->inFunctionCallsStack, $this->afterExtractCall, $this->parentScope, $this->nativeTypesPromoted, @@ -5125,7 +5128,7 @@ private function mergeWithVariableState(?self $otherScope, bool $preserveVacuous $conditionalExpressions, [], [], - [], + $this->inFunctionCallsStack, $this->inFirstLevelStatement, $afterExtractCall, ); @@ -5148,7 +5151,7 @@ private function mergeWithVariableState(?self $otherScope, bool $preserveVacuous $conditionalExpressions, [], [], - [], + $this->inFunctionCallsStack, $this->inFirstLevelStatement, $afterExtractCall, ); @@ -5548,7 +5551,7 @@ public function processFinallyScope(self $finallyScope, self $originalFinallySco $this->inFirstLevelStatement, [], [], - [], + $this->inFunctionCallsStack, $this->afterExtractCall, $this->parentScope, $this->nativeTypesPromoted, @@ -5697,7 +5700,7 @@ public function processAlwaysIterableForeachScopeWithoutPollute(self $finalScope $this->inFirstLevelStatement, [], [], - [], + $this->inFunctionCallsStack, $this->afterExtractCall, $this->parentScope, $this->nativeTypesPromoted, @@ -5876,7 +5879,7 @@ private function generalizeWithVariableState(self $otherScope, ?array $writableV $this->inFirstLevelStatement, [], [], - [], + $this->inFunctionCallsStack, $this->afterExtractCall, $this->parentScope, $this->nativeTypesPromoted, diff --git a/tests/PHPStan/Rules/ScopeFunctionCallStackRuleTest.php b/tests/PHPStan/Rules/ScopeFunctionCallStackRuleTest.php index 307826a69e9..a78c527daab 100644 --- a/tests/PHPStan/Rules/ScopeFunctionCallStackRuleTest.php +++ b/tests/PHPStan/Rules/ScopeFunctionCallStackRuleTest.php @@ -79,6 +79,54 @@ public function testBug15377(): void 'Bug15377\inTransaction', 52, ], + [ + 'Bug15377\inTransaction', + 62, + ], + [ + 'Bug15377\inTransaction', + 63, + ], + [ + 'Bug15377\inTransaction', + 64, + ], + [ + 'Bug15377\inTransaction', + 65, + ], + [ + "Bug15377\\inTransaction\nBug15377\\takesTwo", + 66, + ], + [ + 'Bug15377\inTransaction', + 67, + ], + [ + 'Bug15377\inTransaction', + 68, + ], + [ + 'Bug15377\inTransaction', + 69, + ], + [ + 'Bug15377\inTransaction', + 70, + ], + [ + 'Bug15377\inTransaction', + 71, + ], + [ + 'Bug15377\inTransaction', + 72, + ], + [ + 'Bug15377\inTransaction', + 80, + ], ]); } diff --git a/tests/PHPStan/Rules/ScopeFunctionCallStackWithParametersRuleTest.php b/tests/PHPStan/Rules/ScopeFunctionCallStackWithParametersRuleTest.php index 7a51f8ebfbb..8dc5035f57e 100644 --- a/tests/PHPStan/Rules/ScopeFunctionCallStackWithParametersRuleTest.php +++ b/tests/PHPStan/Rules/ScopeFunctionCallStackWithParametersRuleTest.php @@ -81,6 +81,54 @@ public function testBug15377(): void 'Bug15377\inTransaction ($callback)', 52, ], + [ + 'Bug15377\inTransaction ($callback)', + 62, + ], + [ + 'Bug15377\inTransaction ($callback)', + 63, + ], + [ + 'Bug15377\inTransaction ($callback)', + 64, + ], + [ + 'Bug15377\inTransaction ($callback)', + 65, + ], + [ + "Bug15377\\inTransaction (\$callback)\nBug15377\\takesTwo (\$j)", + 66, + ], + [ + 'Bug15377\inTransaction ($callback)', + 67, + ], + [ + 'Bug15377\inTransaction ($callback)', + 68, + ], + [ + 'Bug15377\inTransaction ($callback)', + 69, + ], + [ + 'Bug15377\inTransaction ($callback)', + 70, + ], + [ + 'Bug15377\inTransaction ($callback)', + 71, + ], + [ + 'Bug15377\inTransaction ($callback)', + 72, + ], + [ + 'Bug15377\inTransaction ($callback)', + 80, + ], ]); } diff --git a/tests/PHPStan/Rules/data/bug-15377.php b/tests/PHPStan/Rules/data/bug-15377.php index 22114dae099..1853b895849 100644 --- a/tests/PHPStan/Rules/data/bug-15377.php +++ b/tests/PHPStan/Rules/data/bug-15377.php @@ -51,3 +51,31 @@ function d(): void { inTransaction(function (): void { try { var_dump(name()); } catch (\RuntimeException $e) { throw $e; } }); } + +final class Item { public ?string $name = null; public function label(): string { return ''; } } + +/** + * @param list $items + */ +function e(?int $n, bool $b, array $items): void +{ + inTransaction(function () use ($n): void { $x = $n ?? 1; throw new \Exception(); }); + inTransaction(function () use ($n): void { if (isset($n)) { $n++; } throw new \Exception(); }); + inTransaction(function () use ($b): void { if ($b) { $y = 1; } else { $y = 2; } throw new \Exception(); }); + inTransaction(function () use ($b): void { $z = $b ? 1 : 2; throw new \Exception(); }); + inTransaction(function () use ($b): void { takesTwo($b ? 1 : 2, throw new \Exception()); }); + inTransaction(function () use ($items): void { foreach ($items as $item) { $item->name = 'x'; } throw new \Exception(); }); + inTransaction(function () use ($items): void { foreach ($items as $i => $item) { if ($item->name !== null) { break; } $label = $items[$i]->label(); } throw new \Exception(); }); + inTransaction(function () use ($b): void { while ($b) { $b = false; } throw new \Exception(); }); + inTransaction(function (): void { try { var_dump(name()); } finally { $f = 1; } throw new \Exception(); }); + inTransaction(function (): void { try { var_dump(name(), name()); } catch (\RuntimeException $e) { throw $e; } }); + inTransaction(function (): void { $c = \Closure::bind(static function (): void {}, null, null); throw new \Exception(); }); +} + +/** + * @param list $list + */ +function f(array $list, string $s, bool $b): void +{ + inTransaction(function () use ($list, $s, $b): void { if ($b) { if (count($list) < 3 || strlen($s) !== 1) { return; } } else { if (count($list) >= 3 || strlen($s) !== 2) { return; } } throw new \Exception(); }); +} diff --git a/turbo-ext/src/MutatingScope.cpp b/turbo-ext/src/MutatingScope.cpp index 9f10f237ef9..44e8ae228a7 100644 --- a/turbo-ext/src/MutatingScope.cpp +++ b/turbo-ext/src/MutatingScope.cpp @@ -3137,7 +3137,8 @@ class MutatingScope ZVAL_COPY_VALUE(&args[2], conditionalExpressions.raw()); ZVAL_EMPTY_ARRAY(&args[3]); ZVAL_EMPTY_ARRAY(&args[4]); - ZVAL_EMPTY_ARRAY(&args[5]); + if (UNEXPECTED(!requireSlot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK, "inFunctionCallsStack"))) return zv::Val(); + ZVAL_COPY_VALUE(&args[5], slot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK).raw()); ZVAL_BOOL(&args[6], slotBool(PT_MS_PROP_IN_FIRST_LEVEL_STATEMENT)); ZVAL_BOOL(&args[7], recordedExit.slotBool(PT_MS_PROP_AFTER_EXTRACT_CALL)); return thisDuplicateWith(args); @@ -4933,7 +4934,8 @@ class MutatingScope a.setBool(CreateArgs::IN_FIRST_LEVEL_STATEMENT, true); a.setEmptyArray(CreateArgs::CURRENTLY_ASSIGNED_EXPRESSIONS); a.setEmptyArray(CreateArgs::CURRENTLY_ALLOWED_UNDEFINED_EXPRESSIONS); - a.setEmptyArray(CreateArgs::IN_FUNCTION_CALLS_STACK); + if (UNEXPECTED(!requireSlot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK, "inFunctionCallsStack"))) return zv::Val(); + a.set(CreateArgs::IN_FUNCTION_CALLS_STACK, slot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK)); a.setBool(CreateArgs::AFTER_EXTRACT_CALL, false); a.setNull(CreateArgs::PARENT_SCOPE); a.setBool(CreateArgs::NATIVE_TYPES_PROMOTED, false); @@ -6198,7 +6200,8 @@ class MutatingScope if (UNEXPECTED(!fillDispatched(a, true, true))) return zv::Val(); a.setOwned(CreateArgs::CURRENTLY_ASSIGNED_EXPRESSIONS, std::move(currentlyAssignedExpressions)); a.setOwned(CreateArgs::CURRENTLY_ALLOWED_UNDEFINED_EXPRESSIONS, std::move(currentlyAllowedUndefinedExpressions)); - a.setEmptyArray(CreateArgs::IN_FUNCTION_CALLS_STACK); + if (UNEXPECTED(!requireSlot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK, "inFunctionCallsStack"))) return zv::Val(); + a.set(CreateArgs::IN_FUNCTION_CALLS_STACK, slot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK)); zv::Val scope = scopeFactoryCreate(a); if (UNEXPECTED(scope.isUndef())) return zv::Val(); if (UNEXPECTED(!assignResolvedTypes(scope))) return zv::Val(); @@ -9615,6 +9618,7 @@ class MutatingScope } bool afterExtractCall = slotBool(PT_MS_PROP_AFTER_EXTRACT_CALL) && theirAfterExtractCall; + if (UNEXPECTED(!requireSlot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK, "inFunctionCallsStack"))) return zv::Val(); /* merged calls no more precise than the call itself are never written * into the merged scope */ @@ -9629,7 +9633,7 @@ class MutatingScope Z_ARRVAL_P(conditionalExpressions.raw()), (HashTable *) &zend_empty_array, (HashTable *) &zend_empty_array, - (HashTable *) &zend_empty_array, + Z_ARRVAL_P(slot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK).raw()), slotBool(PT_MS_PROP_IN_FIRST_LEVEL_STATEMENT), afterExtractCall); } @@ -9642,7 +9646,7 @@ class MutatingScope Z_ARRVAL_P(conditionalExpressions.raw()), (HashTable *) &zend_empty_array, (HashTable *) &zend_empty_array, - (HashTable *) &zend_empty_array, + Z_ARRVAL_P(slot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK).raw()), slotBool(PT_MS_PROP_IN_FIRST_LEVEL_STATEMENT), afterExtractCall); if (UNEXPECTED(scope.isUndef())) return zv::Val(); @@ -9659,7 +9663,7 @@ class MutatingScope Z_ARRVAL_P(conditionalExpressions.raw()), (HashTable *) &zend_empty_array, (HashTable *) &zend_empty_array, - (HashTable *) &zend_empty_array, + Z_ARRVAL_P(slot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK).raw()), slotBool(PT_MS_PROP_IN_FIRST_LEVEL_STATEMENT), afterExtractCall); } @@ -10243,7 +10247,8 @@ class MutatingScope PT_MS_ARG_CREATE(a, CreateArgs::CONDITIONAL_EXPRESSIONS, pt_scope_ops_intersect_conditional_expressions(Z_ARRVAL_P(slot(PT_MS_PROP_CONDITIONAL_EXPRESSIONS).raw()), finallyConditional)); a.setEmptyArray(CreateArgs::CURRENTLY_ASSIGNED_EXPRESSIONS); a.setEmptyArray(CreateArgs::CURRENTLY_ALLOWED_UNDEFINED_EXPRESSIONS); - a.setEmptyArray(CreateArgs::IN_FUNCTION_CALLS_STACK); + if (UNEXPECTED(!requireSlot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK, "inFunctionCallsStack"))) return zv::Val(); + a.set(CreateArgs::IN_FUNCTION_CALLS_STACK, slot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK)); return scopeFactoryCreate(a); } @@ -10440,7 +10445,8 @@ class MutatingScope a.setBool(CreateArgs::IN_FIRST_LEVEL_STATEMENT, slotBool(PT_MS_PROP_IN_FIRST_LEVEL_STATEMENT)); a.setEmptyArray(CreateArgs::CURRENTLY_ASSIGNED_EXPRESSIONS); a.setEmptyArray(CreateArgs::CURRENTLY_ALLOWED_UNDEFINED_EXPRESSIONS); - a.setEmptyArray(CreateArgs::IN_FUNCTION_CALLS_STACK); + if (UNEXPECTED(!requireSlot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK, "inFunctionCallsStack"))) return zv::Val(); + a.set(CreateArgs::IN_FUNCTION_CALLS_STACK, slot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK)); return scopeFactoryCreate(a); } @@ -10710,7 +10716,8 @@ class MutatingScope a.setBool(CreateArgs::IN_FIRST_LEVEL_STATEMENT, slotBool(PT_MS_PROP_IN_FIRST_LEVEL_STATEMENT)); a.setEmptyArray(CreateArgs::CURRENTLY_ASSIGNED_EXPRESSIONS); a.setEmptyArray(CreateArgs::CURRENTLY_ALLOWED_UNDEFINED_EXPRESSIONS); - a.setEmptyArray(CreateArgs::IN_FUNCTION_CALLS_STACK); + if (UNEXPECTED(!requireSlot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK, "inFunctionCallsStack"))) return zv::Val(); + a.set(CreateArgs::IN_FUNCTION_CALLS_STACK, slot(PT_MS_PROP_IN_FUNCTION_CALLS_STACK)); return scopeFactoryCreate(a); }