Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67469 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44618 invoked from network); 23 May 2013 23:37:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 May 2013 23:37:55 -0000 Authentication-Results: pb1.pair.com header.from=hanskrentel@yahoo.de; sender-id=unknown; domainkeys=good Authentication-Results: pb1.pair.com smtp.mail=hanskrentel@yahoo.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain yahoo.de from 212.82.109.202 cause and error) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hanskrentel@yahoo.de X-Host-Fingerprint: 212.82.109.202 nm25-vm1.bullet.mail.ird.yahoo.com Received: from [212.82.109.202] ([212.82.109.202:41656] helo=nm25-vm1.bullet.mail.ird.yahoo.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D5/D5-16824-158AE915 for ; Thu, 23 May 2013 19:37:54 -0400 Received: from [77.238.189.57] by nm25.bullet.mail.ird.yahoo.com with NNFMP; 23 May 2013 23:37:51 -0000 Received: from [212.82.108.249] by tm10.bullet.mail.ird.yahoo.com with NNFMP; 23 May 2013 23:37:51 -0000 Received: from [127.0.0.1] by omp1014.mail.ird.yahoo.com with NNFMP; 23 May 2013 23:37:51 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 69003.72514.bm@omp1014.mail.ird.yahoo.com Received: (qmail 35336 invoked by uid 60001); 23 May 2013 23:37:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1369352270; bh=h5mHJi3txKToOECYsa06GhXzp+sl6itrINBtgrjD8ak=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=EjU96C8lW+dPy5TBFNXBFRkY0uD1oad6pmz8f9d13CH/st16N+wn6r+Rr/JQZY430Cl0pR9J4SzgZB+4FpHgyh2GsDHEwVb9tMdyeM+gbwqNcKGnmS6OOREkk/UehDOgmWx9hp2Pm41dLaz2N1HkoxdQCs4iXmB5UiHooeldyqQ= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=AahQffFQwnx1nMpsa4rLkwGHv23P0zKREO6J17OwIQOmpBz7aXNldRuEishK1uX6a75C4wloWTuNQQMwd4KxaeS1Tz+J+6tuzvBj5yCX9fLLjRlSvKPlg3THi/jrH3ObmSyTYDXqFW3SQmkrSZedYWdnzLY3cZxJmeyn9skAMNI=; X-YMail-OSG: QngaAPYVM1mxzstOo0jHr7.d8lpI8VRzta4sxSFKDI9v18P tPdL_JghdyVzSWS40ed6M7HtG7Aq6dLcv7U0uc22_wmDlemO37TNCGTJWjx9 6xDTtkdYslE6pgFYxs9aNRzhXtsASgcdX7Ru37JAwVOIAf4vZlMo_UxvaqNZ ZDaq0Goow6ZHyqnfiVp9x9xjn_C5oEb5QCYUR7W3nX9p4uRTCnrdbmkDrZ1J Sd6cn5id0ir90vZnSjCtRD0Telot8i3fVzke5Yr4lTJ49zmLCJtgTl4nVzNX vCb5SCQbBLV85kGwiLupIsVsr.qzCgqwbTrRekZOZP225zh4OpE8orSSW1VE 942w9w_oTHNpW7U9NGmeBrakjcum3xPkQR2xZj6ieMnxq76Eezb9inLasixB RiGI5iOL3KUpHOrGVcrtxbceNV6wMsy1aL4ZPx_x57wCjbCWPstFqoV4IxAK M_1ngPqRGXfEhfs45nSirjN0GrssY3Kz2rtfnzDLMcp6llPfogcmRcmDaGQw qzSi.2M0- Received: from [79.225.37.184] by web133006.mail.ir2.yahoo.com via HTTP; Fri, 24 May 2013 00:37:50 BST X-Rocket-MIMEInfo: 002.001,Cgo.IE9uIG9uZSBoYW5kLCBJIHRoaW5rIGl0IG1ha2VzIHNlbnNlIC0gbm9ib2R5IHJlYWxseSBjYXJlcyB3aGVyZSB0aGUKPiBleGNlcHRpb24gd2FzIGNyZWF0ZWQuLi4gQnV0IHRoZXJlJ3Mgb25lIHByb2JsZW0gaGVyZToKPiAKPiB0cnkgewo.IMKgwqDCoCAvL3N0dWZmCj4gfSBjYXRjaChFeGNlcHRpb24gJGUpIHsKPiDCoMKgwqAgJGxvZ2dlci0.bG9nKCJPb3BzLCBleGNlcHRpb24hIik7Cj4gwqDCoMKgIHRocm93ICRlOwo.IH0KPiAKPiBJZiB3ZSB1cGRhdGUgZmlsZS9saW5lIGhlcmUsIHdlIGxvc2UBMAEBAQE- X-Mailer: YahooMailWebService/0.8.144.546 References: <519E797D.7040405@php.net> <519E7A88.5070208@sugarcrm.com> Message-ID: <1369352270.10020.YahooMailNeo@web133006.mail.ir2.yahoo.com> Date: Fri, 24 May 2013 00:37:50 +0100 (BST) Reply-To: hakre To: Stas Malyshev , "internals@lists.php.net" Cc: Sebastian Bergmann In-Reply-To: <519E7A88.5070208@sugarcrm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Bug #64910: Line number of $e = new Exception vs. line number of throw $e From: hanskrentel@yahoo.de (hakre) =0A=0A> On one hand, I think it makes sense - nobody really cares where the= =0A> exception was created... But there's one problem here:=0A> =0A> try {= =0A> =A0=A0=A0 //stuff=0A> } catch(Exception $e) {=0A> =A0=A0=A0 $logger->l= og("Oops, exception!");=0A> =A0=A0=A0 throw $e;=0A> }=0A> =0A> If we update= file/line here, we lose original exception information and=0A> file/line i= n the exception becomes useless. Right now, since 99.99% of=0A> the code do= es "throw new", it is always useful. So how you would =0A> propose=0A> to s= olve this?=0A=0Arethrow $e;