array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'reflectionclass.getfilename.php', 1 => 'ReflectionClass::getFileName', 2 => 'Gets the filename of the file in which the class has been defined', ), 'up' => array ( 0 => 'class.reflectionclass.php', 1 => 'ReflectionClass', ), 'prev' => array ( 0 => 'reflectionclass.getextensionname.php', 1 => 'ReflectionClass::getExtensionName', ), 'next' => array ( 0 => 'reflectionclass.getinterfacenames.php', 1 => 'ReflectionClass::getInterfaceNames', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/reflection/reflectionclass/getfilename.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PHP 5, PHP 7, PHP 8)
ReflectionClass::getFileName — Gets the filename of the file in which the class has been defined
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.