ReflectionParameter::isVariadic

(PHP 5 >= 5.6.0, PHP 7, PHP 8)

ReflectionParameter::isVariadicChecks if the parameter is variadic

说明

public ReflectionParameter::isVariadic(): bool

Checks if the parameter was declared as a variadic parameter.

参数

此函数没有参数。

返回值

Returns true if the parameter is variadic, otherwise false.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top