(PHP 5 >= 5.6.0, PHP 7)
ReflectionParameter::isVariadic — Checks if the parameter is variadic
Checks if the parameter was declared as a variadic parameter.
此函数没有参数。
Returns true if the parameter is variadic, otherwise false.
true
false