"or throw new" syntax
| From: | Kalle Sommer Nielsen | Date: | Sun, 05 Sep 2010 12:19:16 +0000 |
| Subject: | "or throw new" syntax | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-49569@lists.php.net to get a copy of this message | ||
Hi
Is there any reason for we don't support expressions like:
test() or throw new Exception('test() failed');
If no, is there any argument against supporting such a syntax in trunk?
--
regards,
Kalle Sommer Nielsen
kalle@php.net