php try catch non fatal 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!';
}