-
Notifications
You must be signed in to change notification settings - Fork 717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reflection calls with ...Args should support associative arrays for PHP 8 #3355
Comments
I'm not sure I understand, this works: https://3v4l.org/Wtas7 |
Yes, it seems like I was hitting different user-land bug. |
I'll be moving this issue to the docs repo then.
Indeed, and it's the top note even... I'll remove it. |
Description
With PHP 8 we have named arguments and support for arbitrary arguments order.
Making
ReflectionClass::newInstanceArgs
andReflectionMethod::invokeArgs
support associative arrays will mirror that functionality from reflection.Use case is for skipping retrieval of optional parameters and simplifying managements of arguments array.
The text was updated successfully, but these errors were encountered: