PHP 8.3.4 Released!

ReflectionFunctionAbstract::getFileName

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

ReflectionFunctionAbstract::getFileNameファイル名を取得する

説明

public ReflectionFunctionAbstract::getFileName(): string|false

ユーザー定義関数のファイル名を取得します。

パラメータ

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

戻り値

関数が定義されたファイル名を返します。 PHP コアや拡張モジュールで定義されていた場合は、false を返します。

参考

add a note

User Contributed Notes 1 note

up
2
stein at visibone dot com
10 years ago
Returns FALSE for an internal function (when isInternal() returns TRUE, e.g. for 'strlen').
To Top