array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'throwable.getfile.php', 1 => 'Throwable::getFile', 2 => 'Gets the file in which the object was created', ), 'up' => array ( 0 => 'class.throwable.php', 1 => 'Throwable', ), 'prev' => array ( 0 => 'throwable.getcode.php', 1 => 'Throwable::getCode', ), 'next' => array ( 0 => 'throwable.getline.php', 1 => 'Throwable::getLine', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'language/predefined/throwable/getfile.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Throwable::getFile

(PHP 7, PHP 8)

Throwable::getFileGets the file in which the object was created

Опис

public Throwable::getFile(): string

Get the name of the file in which the thrown object was created.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns the filename in which the thrown object was created.

Прогляньте також