Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67471 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48379 invoked from network); 24 May 2013 00:14:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 May 2013 00:14:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 108.166.43.115 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 108.166.43.115 smtp115.ord1c.emailsrvr.com Linux 2.6 Received: from [108.166.43.115] ([108.166.43.115:37315] helo=smtp115.ord1c.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 29/96-16824-5F0BE915 for ; Thu, 23 May 2013 20:14:46 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp7.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 153A71B8110; Thu, 23 May 2013 20:14:43 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp7.relay.ord1c.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id B44E81B8127; Thu, 23 May 2013 20:14:42 -0400 (EDT) Message-ID: <519EB0F2.60304@sugarcrm.com> Date: Thu, 23 May 2013 17:14:42 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: hakre CC: "internals@lists.php.net" , Sebastian Bergmann References: <519E797D.7040405@php.net> <519E7A88.5070208@sugarcrm.com> <1369352270.10020.YahooMailNeo@web133006.mail.ir2.yahoo.com> In-Reply-To: <1369352270.10020.YahooMailNeo@web133006.mail.ir2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Bug #64910: Line number of $e = new Exception vs. line number of throw $e From: smalyshev@sugarcrm.com (Stas Malyshev) 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