(PHP 5 >= 5.4.6, PHP 7)
ReflectionParameter::isDefaultValueConstant — Returns whether the default value of this parameter is a constant
public ReflectionParameter::isDefaultValueConstant ( ) : bool
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.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionparameter.isdefaultvalueconstant.php