Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $i = 4;
- try
- {
- if ($i > 2)
- throw new Exception ('i > 2');
- if ($i > 3)
- throw new Exception ('i > 3');
- }
- catch(Exception $e)
- {
- var_dump($e);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement