ReflectionParameter::isDefaultValueAvailable
(PHP 5 >= 5.0.3, PHP 7, PHP 8)
ReflectionParameter::isDefaultValueAvailable — 检查默认是否可用
参数
此函数没有参数。
参见
- ReflectionParameter::getDefaultValue() - Gets default parameter value
- ReflectionParameter::isDefaultValueConstant() - Returns whether the default value of this parameter is a constant
- ReflectionParameter::getName() - Gets parameter name