]> src.bluestatic.org Git - macgdbp.git/blob - dev/tests/exception.php
Specify CODE_SIGN_STYLE=Manual .
[macgdbp.git] / dev / tests / exception.php
1 <?php
2
3 class CustomException extends Exception {}
4
5 function DoSomething() {
6 throw new CustomException('Hi There');
7 }
8
9 function Something() {
10 $c = 42;
11 $d = 12;
12 throw new Exception('Boo');
13 }
14
15 Something();