Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87031 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89258 invoked from network); 5 Jul 2015 20:20:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jul 2015 20:20:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:39357] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5E/04-21549-79199955 for ; Sun, 05 Jul 2015 16:20:40 -0400 Received: by mail.experimentalworks.net (Postfix, from userid 1003) id 24C114C7BA; Sun, 5 Jul 2015 22:21:25 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on km31408.keymachine.de X-Spam-Level: * X-Spam-Status: No, score=1.4 required=4.0 tests=ALL_TRUSTED, DNS_FROM_AHBL_RHSBL autolearn=no version=3.3.2 X-Spam-HAM-Report: * 2.4 DNS_FROM_AHBL_RHSBL RBL: Envelope sender listed in dnsbl.ahbl.org * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from [192.168.2.34] (ppp-93-104-4-39.dynamic.mnet-online.de [93.104.4.39]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id 3D3A94C7B9; Sun, 5 Jul 2015 22:21:23 +0200 (CEST) Message-ID: <1436127623.5633.4.camel@kuechenschabe> To: Nikita Popov Cc: PHP internals , Dmitry Stogov Date: Sun, 05 Jul 2015 22:20:23 +0200 In-Reply-To: References: <1435240516.15676.7.camel@kuechenschabe> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-cdMnbe0IkItqh8g4LV/Y" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Subject: Re: [PHP-DEV] Allow exceptions in __toString() From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) --=-cdMnbe0IkItqh8g4LV/Y Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2015-07-03 at 17:57 +0200, Nikita Popov wrote: > I can see your concern here -- however this is nothing specific to > exceptions thrown from __toString(). There is are a number of ways you > can end up in this situation, the two most common being: I summarize this a bit freely as "We already have places which are hard to understand an predict, so let's add more!" We should improve this but clearer rules. johannes --=-cdMnbe0IkItqh8g4LV/Y Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABAgAGBQJVmZGOAAoJEH3sTmn8nIPXcgsH/1SbXUobRfjAgLHj0aR2XQBj 6TiS4DboEwDnziAZOW0fHGeKp+4listLvRiFB1YrFvFhZt6nm2+EapTUoyFADdl3 UGy0s9kxPU07AWwPglHk3o99UwzQXQyUkj0vr67v/4bitoRqlCiUeN87LQvh00eE n4wHW2AXBCGN27p6ZQQJxcix829vbPmGMh+el1+1HeR80Rbzal44DelPnLOUCbs8 FuiM88iTNAmr7xHh85YtVPfDlRj61PSjRhXOydUAG0Zi9m45fJiUjDtJ7WgP0KdE 5haiql0hzda8mWcm59T2yMUWVqeGkyP5yjQOPfLEX5r4fdfQTM9xI4cSoo6ApCM= =mqK4 -----END PGP SIGNATURE----- --=-cdMnbe0IkItqh8g4LV/Y--