(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.


This function has no parameters.

Return Values

Returns true if the parameter is variadic, otherwise false.

add a note

User Contributed Notes

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