Error::getFile
Error::getFile
Gets the file in which the error occurred
string **Error::getFile**
Get the name of the file the error occurred.
Returns the filename in which the error occurred.
Voorbeeld: example
<?php
try {
throw new Error;
} catch(Error $e) {
echo $e->getFile();
}
?>
/home/bjori/tmp/ex.php
Throwable::getFile