ReflectionClass
在线手册:中文 英文
PHP手册

ReflectionClass::getFileName

(PHP 5)

ReflectionClass::getFileNameGets the filename of the file in which the class has been defined

说明

public string ReflectionClass::getFileName ( void )

Gets the filename of the file in which the class has been defined.

参数

此函数没有参数。

返回值

Returns the filename of the file in which the class has been defined. If the class is defined in the PHP core or in a PHP extension, FALSE is returned.

参见


ReflectionClass
在线手册:中文 英文
PHP手册