private function isVariadic(\ReflectionParameter $parameter)
    {
        if ($parameter->name == "...") {
            // This is a variadic C-implementation before PHP-5.6.
            return true;
        }
        if (method_exists($parameter, "isVariadic")) {
            return $parameter->isVariadic();
        }
        return false;
    }
private function isVariadic(\ReflectionParameter $parameter)
    {
        if ($parameter->name == "...") {
            // This is a variadic C-implementation before PHP-5.6.
            return true;
        }
        if (method_exists($parameter, "isVariadic")) {
            return $parameter->isVariadic();
        }
        return false;
    }
private function isVariadic ( \ ReflectionParameter $ parameter ) { if ( $ parameter -> name == "..." ) { // This is a variadic C-implementation before PHP-5.6. return true ; } if ( method_exists ( $ parameter , "isVariadic" ) ) { return $ parameter -> isVariadic ( ) ; } return false ; }
Returns whether a parameter is variadic.

@param \ReflectionParameter $parameter The parameter.

@return boolean True, if the parameter is variadic.
Returns whether a parameter is variadic .