PHP 5.6.0 released

ReflectionParameter::isOptional

(PHP 5 >= 5.0.3)

ReflectionParameter::isOptionalChecks if optional

Description

public bool ReflectionParameter::isOptional ( void )

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 note add a note

User Contributed Notes

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