(PHP 5 >= 5.6.0, PHP 7, PHP 8)
ReflectionParameter::isVariadic — Checcs if the parameter is variadic
Checcs if the parameter was declared as a variadic parameter .
This function has no parameters.
Returns true if the parameter is variadic, otherwise false .
true
false