PHP 7.4.12 Released!


(PHP 5 >= 5.0.3, PHP 7)

ReflectionParameter::isOptionalChecks if optional


public ReflectionParameter::isOptional ( void ) : bool

Checks if the parameter is optional.


This function has no parameters.

Return Values

TRUE if the parameter is optional, otherwise FALSE

See Also

add a note add a note

User Contributed Notes

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