ReflectionParameter::isDefaultValueAvailable

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

ReflectionParameter::isDefaultValueAvailable检查默认是否可用

说明

public ReflectionParameter::isDefaultValueAvailable(): bool

检查参数默认值是否可用。

参数

此函数没有参数。

返回值

如果默认值可用为 true 否则为 false

参见

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top