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