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
ReflectionMethod::invoke and getClosure throw "not invokable" for a method with a variadic or by-reference parameter. #171
[exit code 255]
PHP Fatal error: Uncaught ReflectionException: Method add is not invokable
Tracking
Known-bug repro: tests/aot/repro/wrong/reflection_invoke_variadic_method.php — bash tests/aot/xfail.sh -k reflection_invoke_variadic_method reports XFAIL while this is open and XPASS once it is fixed; then move the repro into tests/aot/cases/ and close this issue.
Partial. The variadic half already works. The by-ref half is open: passing $a[i] as a by-ref arg when the array element is already a ref cell crashes (SIGSEGV in __mir_array_set_int) in plain user code too, so a reflection trampoline fix only turns the 'not invokable' exception into a crash (tried and reverted). Fix the plain-user-code crash first, then the trampoline.
Activity
fix(calls): rebuild cell variadic packs to the typed vec, split sprea…
Throw instead of coercing, fix 13 crash/IR bugs (coercion errors, nul…
blacktrs commentedon Oct 13, 2026
Partial. The variadic half already works. The by-ref half is open: passing
$a[i]as a by-ref arg when the array element is already a ref cell crashes (SIGSEGV in__mir_array_set_int) in plain user code too, so a reflection trampoline fix only turns the 'not invokable' exception into a crash (tried and reverted). Fix the plain-user-code crash first, then the trampoline.Pass a REF-cell array element's box to a by-ref arg; give by-ref meth…
Promote the 14 xfail repros that pass now and drop 9 stale repros who…
Compile and serve a Symfony app natively: ownership/inference fixes, …