You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stdlib: ReflectionMethod::getTentativeReturnType() missing — hasTentativeReturnType only (ext/reflection/php_reflection.c) #18226
PHP 8.1+ exposes tentative return types on internal/builtin methods. This compiler wires ReflectionMethod::hasTentativeReturnType() but not the paired getter getTentativeReturnType(), so code expecting a ReflectionNamedType (or null) cannot mirror Zend.
Implementation:ReflectionMethod::getTentativeReturnType() VM builtin + BuiltinInternalTentativeReturnInfo Zend 8.2 snapshot (187 internal methods); hasTentativeReturnType() now consults the same table via BuiltinInternalArgInfo::tentativeReturnTypeForClassMethod().
Activity
PurHur commentedon Jul 12, 2026
claim: PHP Compiler STD Lib Advanced — batch (issues #18225, #18226, #18228)
PurHur commentedon Jul 12, 2026
claim: cursor-agent-lane-b — starting this run
Reflection: register ReflectionMethod predicate APIs (#18225, #18226, #…
PurHur commentedon Jul 12, 2026
Merged in #18233 — VM repro + compliance guards green; bootstrap inventory + spine sync + VM driver probe OK.
Merge master and expand tentative return metadata (#18226)
ReflectionMethod::getTentativeReturnType() for internal methods (#18226…
PurHur commentedon Jul 12, 2026
Merged via #18240
Verification
Implementation:
ReflectionMethod::getTentativeReturnType()VM builtin +BuiltinInternalTentativeReturnInfoZend 8.2 snapshot (187 internal methods);hasTentativeReturnType()now consults the same table viaBuiltinInternalArgInfo::tentativeReturnTypeForClassMethod().