Quiz · Errors and exceptions · lesson 3 of 8
Quiz — what throw skips
Question 1 of 2
What does the program print?
<?php
try {
echo 'a';
throw new RuntimeException('boom');
echo 'b';
} catch (Exception $e) {
echo 'c', $e->getMessage();
}
echo 'd', "\n";