PHP - Error and Exception Handling
What will be the output of this PHP code?
try {
throw new Error('Fatal error');
} catch (Exception $e) {
echo 'Caught Exception';
} catch (Error $e) {
echo 'Caught Error';
}