<?php
try {
throw new Exception('测试异常1');
} catch (Exception $e) {
echo $e->getMessage();
echo "<hr/>";
try {
throw new Exception('测试异常2');
} catch (Exception $e) {
echo $e->getMessage();
}
}
echo "<hr/>continue...";
?>

网友评论