(PHP 5 >= 5.6.0, PHP 7, PHP 8)
ReflectionParameter::isVariadic — Checks if the parameter is variadic
Checks 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