php/doc-en
Reflection calls with ...Args should support associative arrays for PHP 8
オープン
#3,355 opened on 2024/04/27
Extension: reflectiongood first issue
Repository metrics
- Stars
- (596 個のスター)
- PR merge metrics
- (PR metrics pending)
説明
Description
With PHP 8 we have named arguments and support for arbitrary arguments order.
Making ReflectionClass::newInstanceArgs and ReflectionMethod::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.