3 ms·
The current implementation doesn't require extra params as arrays... you can pass as many (or as few) parameters to any PHP function regardless of defined funct
by apinstein 13y ago
The current implementation doesn't require extra params as arrays... you can pass as many (or as few) parameters to any PHP function regardless of defined function signature; the declared parameters will be auto-populated. Additionally, you can call func_get_args() inside of any function and get an array with all params, meaning it's a trivial array_slice (and/or list) away from extracting all vargs.
That said, the new ...$params is 100% better.