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.

Прогляньте також