« ReflectionConstant::getExtensionName
ReflectionConstant::getName »

ReflectionConstant::getFileName

(PHP 8 >= 8.5.0)

ReflectionConstant::getFileName — 定数を定義したファイル名を取得する

説明

public function ReflectionConstant::getFileName(): string|false

この定数を定義したファイルの名前を取得します。

パラメータ

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

戻り値

この定数を定義したファイルの名前を返します。 PHP コアや PHP の拡張モジュールによって定義されている場合、 false が返されます。

関連キーワード:
ReflectionConstant   定数   getFileName   getExtensionName   getName   コア   拡張
関連する関数・ページ:
reflectionconstant.getname   reflectionconstant.getextensionname   class.reflectionconstant   reflectionconstant.construct   reflectionconstant.getshortname   reflectionconstant.getvalue