PHP 8.3.4 Released!

ReflectionParameter::isDefaultValueAvailable

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

ReflectionParameter::isDefaultValueAvailableデフォルト値が存在するかどうかを調べる

説明

public ReflectionParameter::isDefaultValueAvailable(): bool

パラメータのデフォルト値が存在するかどうかを調べます。

パラメータ

この関数にはパラメータはありません。

戻り値

デフォルト値が存在する場合に true、それ以外の場合に false を返します。

参考

add a note

User Contributed Notes

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