ReflectionParameter::isVariadic

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

ReflectionParameter::isVariadicChecks if the parameter is variadic

Description

public ReflectionParameter::isVariadic(): 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.

add a note add a note

User Contributed Notes

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