ReflectionParameter
PHP Manual

ReflectionParameter::isVariadic

(PHP 5 >= 5.6.0, PHP 7)

ReflectionParameter::isVariadicChecks if the parameter is variadic

Description

public bool ReflectionParameter::isVariadic ( void )

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.


ReflectionParameter
PHP Manual