On 23 May 2013 17:14, Stas Malyshev <smalys...@sugarcrm.com> wrote:
> Hi!
>
>>> the code does "throw new", it is always useful. So how you would
>>> propose
>>> to solve this?
>>
>> rethrow $e;
>
> Yes, this is definitely an option, but requires a new keyword.

We could use a C++ style throw; as an implicit rethrow.

Adam

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to