ReflectionConstant::getFileName
(PHP 8 >= 8.5.0)
ReflectionConstant::getFileName — 定数を定義したファイル名を取得する
説明
public function ReflectionConstant::getFileName():
string|false
この定数を定義したファイルの名前を取得します。
戻り値
この定数を定義したファイルの名前を返します。
PHP コアや PHP の拡張モジュールによって定義されている場合、
false が返されます。