Please wait while we load your page...
 

Announcements

PHP Manual :: ReflectionParameter::isOptional



ReflectionParameter::isDefaultValueConstant || ReflectionParameter::isPassedByReference || ReflectionParameter || PHP Manual

(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



ReflectionParameter::isDefaultValueConstant || ReflectionParameter::isPassedByReference || ReflectionParameter || PHP Manual
Live Chat Not Available