Re: Bug #64910: Line number of $e = new Exception vs. line number of throw $e
| From: | Stas Malyshev | Date: | Fri, 24 May 2013 00:14:42 +0000 |
| Subject: | Re: Bug #64910: Line number of $e = new Exception vs. line number of throw $e | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-67471@lists.php.net to get a copy of this message | ||
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.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227