Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87027 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60413 invoked from network); 5 Jul 2015 11:01:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jul 2015 11:01:18 -0000 Authentication-Results: pb1.pair.com smtp.mail=theanomaly.is@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=theanomaly.is@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.53 as permitted sender) X-PHP-List-Original-Sender: theanomaly.is@gmail.com X-Host-Fingerprint: 209.85.215.53 mail-la0-f53.google.com Received: from [209.85.215.53] ([209.85.215.53:35354] helo=mail-la0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 39/12-21549-D7E09955 for ; Sun, 05 Jul 2015 07:01:18 -0400 Received: by lagh6 with SMTP id h6so125315762lag.2 for ; Sun, 05 Jul 2015 04:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kjasCkIFFLJY6ZBeZlch68XSK2ZJv7rc60FYt3Q2OOk=; b=TQRc/kb5mIQwOcsgajJsauX/i9IUBYl/8y0kXIdqN+nXj+q33lGrbRuv8lOioxZCYO Q+IQoTlNdMB7EULChL4HsovZ0+Gfizy4Oq77/0kpTdrjGT/NHnsq3BNei+uFFHQ6eq+T GEsw44ndkhyM97VOBZfhvDOnBbmFRdpHVQegP2x++lS9GdDRPHVA45E+pXbjymr4ioHN pXhF0kjZV8AwWhQ3Pn12jdBDVBFMJ3utCRkNii0ThFc99POIUSDjaZTh80xODDyBAgnu ziFIVHXADo1fcoxVXohjlYUJ9HqOgG7I91Q+eDlJ4uVeAr/+Ri6kd2Chh2WhSaUI2T6z tBvw== MIME-Version: 1.0 X-Received: by 10.152.29.6 with SMTP id f6mr42895273lah.85.1436094074637; Sun, 05 Jul 2015 04:01:14 -0700 (PDT) Received: by 10.25.35.216 with HTTP; Sun, 5 Jul 2015 04:01:14 -0700 (PDT) In-Reply-To: References: Date: Sun, 5 Jul 2015 07:01:14 -0400 Message-ID: To: Dan Ackroyd Cc: =?UTF-8?B?SmFrdWIgS3Viw63EjWVr?= , Dmitry Stogov , Bob Weinand , Andrea Faulds , PHP Internals , Nikita Popov , Aaron Piotrowski , Levi Morrison Content-Type: multipart/alternative; boundary=089e0158c78a2ed325051a1eb565 Subject: Re: Revert unapproved language change, was: Fix division by zero to throw exception (round 2) From: theanomaly.is@gmail.com (Sherif Ramadan) --089e0158c78a2ed325051a1eb565 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, Jul 5, 2015 at 6:29 AM, Dan Ackroyd wrote: > On 4 July 2015 at 20:56, Sherif Ramadan wrote: > > > > I'm proposing that we reconsider removing the warning from floating poi= nt > > division and here's why. > > Wait ....what? I don't remember an RFC about the behaviour changing. > Did someone ninja commit a change to the language? > > Well it sure looks like it: > > https://github.com/php/php-src/commit/f9724b93f6592d2f77fa9165038a0ba0db3= da0c6 > > This is absolutely a change that needs an RFC. As the change was done > without one, please can it be reverted until an RFC is done? > I actually fully agree to the IEEE 754 compliance part and I doubt anyone will disagree on that part as it only stands to benefit everyone. However, I completely disagree with removing the warning blind-sidedly and especially two days before the beta1 release like that. I do opt that it be reverted, however, until the matter is fully resolved. If that happens to take a day or a month it shouldn't result in releasing ad hoc changes that will be wish-washy between releases like that should something change. At the very least let's cherry pick it out of the beta 1 release to ensure we've fully resolved the matter. > > Bob Weinand wrote: > > I=E2=80=99m just saying that warning in the worst we can have. > > You are wrong; it allows: > > * People who want it to be an exception to convert it to an exception > in their error handler. > * People who want to ignore it can suppress it with the squelch operator. > * People who want to handle it on a case by case basis in their code can > do. > > This is another case where you are ignoring other people's use-cases, > and imagining that your use-case is the only valid use-case. > > But the technical discussion is one that we should have when someone > is proposing this change - not when someone has committed it first and > then is asking for approval. > > > cheers > Dan > --089e0158c78a2ed325051a1eb565--