Fatal Error¶
Fatal error is a type of PHP error, which ends the execution of the application. Fatal errors may be caught before ending the execution with a catch clause on Error.
<?php
try {
1 + [];
} catch (Error $e) {
print A fatal error was caught.;
}
?>
See also A Guide to: PHP Fatal errors.
Related : Deprecation, Error, Error Handling, Exception, Notice, Try-catch, Warning, Lint, Won’t Execute, Method Compatibility