php catch all fatal errors code example
Example: php catch fatal error
try {
do some thing evil
} catch (Error $e) {
echo 'Now you can catch me!';
}
try {
do some thing evil
} catch (Error $e) {
echo 'Now you can catch me!';
}