parent root
PHP: ReflectionParameter::isOptional - Manual

ReflectionParameter::isOptional

(PHP 5 >= 5.0.3, PHP 7)

ReflectionParameter::isOptionalChecks if optional

Description

public ReflectionParameter::isOptional ( void ) : bool

Checks if the parameter is optional.

Parameters

This function has no parameters.

Return Values

TRUE if the parameter is optional, otherwise FALSE

See Also

add a noteadd a note

User Contributed Notes

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