ReflectionParameter::isDefaultValueConstant

(PHP 5 >= 5.4.6, PHP 7, PHP 8)

ReflectionParameter::isDefaultValueConstantReturns 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.

参数

此函数没有参数。

返回值

Returns true if the default value is constant, and false otherwise.

参见

7i24.Com