Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87865 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23255 invoked from network); 22 Aug 2015 15:31:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Aug 2015 15:31:04 -0000 Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:35307] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EA/61-06657-5B598D55 for ; Sat, 22 Aug 2015 11:31:02 -0400 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id DBE8023D6299; Sat, 22 Aug 2015 17:30:57 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on h1123647.serverkompetenz.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.5 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable version=3.3.2 Received: from w530phpdev (pD9FE8C65.dip0.t-ipconnect.de [217.254.140.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h1123647.serverkompetenz.net (Postfix) with ESMTPSA id DBA2A23D6003; Sat, 22 Aug 2015 17:30:55 +0200 (CEST) To: "'Nikita Popov'" Cc: "'Anthony Ferrara'" , "'Scott Arciszewski'" , "'Pierre Joye'" , "'Trevor Suarez'" , "'Niklas Keller'" , "'PHP Internals'" References: <99CE9AAF-E6E9-4D37-B462-E4A63139EAFB@icicle.io> <03af01d0dc6e$fe3a20c0$faae6240$@belski.net> In-Reply-To: Date: Sat, 22 Aug 2015 17:30:52 +0200 Message-ID: <04b801d0dcef$89d29c40$9d77d4c0$@belski.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQJC3r66slA4OrIZzeKRJP+F1q+sPAHl0YfMAgPjk1wCP9s7nQJwneruAZT4VZ4CM9u6CwLzisAjAagrhIUCj+BP1QK8KAeHAkruzpYBJvvSEgGxQjx9nFioMDA= Content-Language: en-us Subject: RE: [PHP-DEV] Recap - Core functions throwing exceptions in PHP7 From: anatol.php@belski.net ("Anatol Belski") Hi Nikita, > -----Original Message----- > From: Nikita Popov [mailto:nikita.ppv@gmail.com] > Sent: Saturday, August 22, 2015 12:17 PM > To: Anatol Belski > Cc: Anthony Ferrara ; Scott Arciszewski > ; Pierre Joye ; Trevor = Suarez > ; Niklas Keller ; PHP Internals > > Subject: Re: [PHP-DEV] Recap - Core functions throwing exceptions in = PHP7 >=20 > There has been quite extensive discussion on this topic. Apart from 30 > comments on the original PR for this, there are 100 mails across three = topics > discussing this issue. As far as I can discern, there was a rather = clear consensus in > these discussions to make the error conditions throw (although this = may be > confirmation bias speaking). >=20 > The only point of contention that was left towards the end of the = discussion, > was which exception specifically should be thrown in one of the cases. = This was > a bikeshedding concern. All the people who participated in the = Exception vs. > Error discussion are okay with either choice here, with mild = preferences going in > different directions. You could flip a coin and nobody would complain = about the > result. Nobody really cares whether this exception is green or blue. >=20 > I'm honestly surprised at this decision. I had assumed that the = question of > whether we throw was already a done matter and we're only talking = about the > exception type at this point. >=20 No exact counting, but on github and ML there were probably not more = than 20 participants. To compare, alone on the CSPRNG voting 41 persons = took part. What is happening is that the "exceptions snow ball" starts = to roll, the commendation to have an RFC was expressed earlier and is = merely a measure to ensure everyone is involved and the "snow ball" = doesn't turn into a "snow bank" at the end. Hopefully the escalation = happened lately is good for seeing possible consequences to take shape. Regards Anatol