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
ReflectionParameter::canBePassedByValue() must return false when the parameter is passed by reference (including variadic by-ref). php-compiler returns true for by-ref parameters even when isPassedByReference() is correctly true. (Method presence fixed in #18073; value semantics still wrong.)
Activity
PurHur commentedon Jul 22, 2026
claim: PHP Compiler STD Lib Advanced — batch (issues #22127, #22108, #22145, #22064, #22144; sequential PRs)
Queued: ReflectionParameter::canBePassedByValue() by-ref semantics.
PurHur commentedon Jul 22, 2026
claim: PHP Compiler STD Lib Advanced — starting #22145 after #22108 merged (PR #22154).
Fixing ReflectionParameter::canBePassedByValue() for by-ref params (php-src-strict).
Stdlib: ReflectionParameter::canBePassedByValue false for by-ref (#22145
PurHur commentedon Jul 22, 2026
merged: #22156
Verification
byValue=0, by-valuebyValue=1Next in batch: #22064 hasType() for untyped params