(PHP 5 >= 5.4.6, PHP 7, PHP 8)
ReflectionParameter::isDefaultValueConstant — Returns whether the default value of this parameter is a constant
Returns whether the default value of this parameter is a constant.
This function has no parameters.
Returns true if the default value is constant, and false otherwise.
true
false