ReflectionParameter
PHP Manual

ReflectionParameter::isDefaultValueAvailable

(PHP 5 >= 5.0.3, PHP 7)

ReflectionParameter::isDefaultValueAvailableChecks if a default value is available

Description

public bool ReflectionParameter::isDefaultValueAvailable ( void )

Checks if a default value for the parameter is available.

Parameters

This function has no parameters.

Return Values

TRUE if a default value is available, otherwise FALSE

See Also


ReflectionParameter
PHP Manual