ReflectionParameter::isDefaultValueConstant
(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.
参数
此函数没有参数。
参见
- ReflectionParameter::getDefaultValueConstantName() - Returns the default value's constant name if default value is constant or null
- ReflectionParameter::isDefaultValueAvailable() - 检查默认是否可用