phpday 2027 - Call for Papers

ReflectionParameter::isDefaultValueAvailable

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

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

説明

public function ReflectionParameter::isDefaultValueAvailable(): bool

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

パラメータ

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

戻り値

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

参考

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top