PHP - Manual: ReflectionParameter::isVariadic
2024-11-14
(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.
此函数没有参数。
Returns true
if the parameter is variadic, otherwise false
.
官方地址:https://www.php.net/manual/en/reflectionparameter.isvariadic.php