func_get_args() Skips Variadic

no-email (Damien Seguy), Damien Seguy
Tue, 11 Feb 2025 00:00:00 +0000

func_get_args() does not provide the variadic argument, when there is one. It is simply omitted.
func_get_args() lists only the declared parameters, with their position, rather than their name.
func_get_args() is the traditional way to hand arbitrary number of arguments, and with this difference of behavior related to variadic, it provides a different set of features.
Nowadays, 23% of PHP applications use this feature.