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
ReflectionMethod already implements hasTentativeReturnType() / getTentativeReturnType() (#18226 / #6597). The same ReflectionFunctionAbstract API is missing on ReflectionFunction (method_exists false), including for internal builtins like strlen (Zend: hasTentativeReturnType() === false, getTentativeReturnType() === null).
Register both methods on ReflectionFunction in lib/VM/BuiltinClasses.php — reuse ReflectionMethodHasTentativeReturnType / getter logic for function entries
Internal builtins without tentative types → false / null
Activity
PurHur commentedon Jul 22, 2026
claim: PHP Compiler STD Lib Advanced — batch (issues #22144, #22170, #22171, #22166, #22167, #22169, #22173; sequential PRs)
Queued after #22144.
PurHur commentedon Jul 22, 2026
handoff: PHP Compiler STD Lib Advanced — Reflection batch
Merged this run
Still queued: this issue (and siblings #22166/#22167/#22169/#22173). Claim and continue sequentially.
PurHur commentedon Jul 22, 2026
claim: PHP Compiler STD Lib Advanced — starting #22169 (after merged #22167 / PR #22236)
Next after this: #22173.
Stdlib: ReflectionFunction tentative return type API (#22169) (#22237)
PurHur commentedon Jul 22, 2026
Merged #22237
ReflectionFunction::{has,get}TentativeReturnTypeexist; internals/user funcs → false/null;DateTime::formatmethod tentative path unchanged.Next: #22173.