ReflectionParameter::isVariadic

(PHP 5 >= 5.6.0, PHP 7)

ReflectionParameter::isVariadicChecks if the parameter is variadic

Description

public ReflectionParameter::isVariadic ( void ) : bool

Checks if the parameter was declared as a variadic parameter.

Parameters

This function has no parameters.

Return Values

Returns TRUE if the parameter is variadic, otherwise FALSE.