ReflectionConstant::getFileName

(PHP 8 >= 8.5.0)

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

説明

public ReflectionConstant::getFileName(): string|false

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

パラメータ

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

戻り値

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

add a note

User Contributed Notes

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