Zend 200-500 Question Answer
What is the output of the following code?
try {
class MyException extends Exception {};
try {
throw new MyException;
}
catch (Exception $e) {
echo "1:";
throw $e;
}c
atch (MyException $e) {
echo "2:";
throw $e;
}}
catch (Exception $e) {
echo get_class($e);
}
Zend 200-500 Summary
- Vendor: Zend
- Product: 200-500
- Update on: Jul 25, 2025
- Questions: 219