catch php error 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!';
}