how to handle fatal error with exception in php 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!';
}