PHP 7.0.6 Released

ReflectionParameter::isOptional

(PHP 5 >= 5.0.3, PHP 7)

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

User Contributed Notes

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