Ellipsis With Array Parameters

no-email (Damien Seguy), Damien Seguy
Fri, 07 Feb 2025 00:00:00 +0000

It is possible to spread parameters from an array, when calling a function.
With string keys, the parameters are named and assigned their corresponding parameter.
With integer positions, the parameters are used depending of their position in the array, not their actual key.
It might require a call to ksort() or array_values() to make it clear.