xwillq
xwillq
All ways to pass parameters to function look the same way in PHP 7.4. Functions' code: ```php function regularParams(string $s, int $i, array $a) { variadic($s, $i, $a); } function...
`args` has all required info. I made quick and maybe dirty fix. ```php private function getFunctionArgumentValues(\ReflectionFunctionAbstract $reflectionFunction, array $backtraceFrameArgs): array { $argumentValues = []; foreach ($reflectionFunction->getParameters() as $reflectionParameter) { if...
The variadic parameter has a name, `params`, though it was a confusing one in this context 😅. For function without parameters at all we cannot do much, so I took...
Creating this as draft before all mentioned issues are addressed.