Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87026 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56922 invoked from network); 5 Jul 2015 10:29:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jul 2015 10:29:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 209.85.160.174 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 209.85.160.174 mail-yk0-f174.google.com Received: from [209.85.160.174] ([209.85.160.174:35963] helo=mail-yk0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A7/91-21549-51709955 for ; Sun, 05 Jul 2015 06:29:41 -0400 Received: by ykdr198 with SMTP id r198so126328442ykd.3 for ; Sun, 05 Jul 2015 03:29:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=Srfi3uL7G1vutipmLKyrxZcYluwqQ5GUDJlyckmSeiQ=; b=cIl81otdPcIxmB6EB8+W14HIodwI7FwUsbpV59J9Gpjk10y7ir9JPxKtctpInspvmM rKRi8j0iRuQqNitMZASnioogl1QdUifU2ekdS2YSNDZVnwsINdFeSijWA6wVaDj8evJd CaIj7CEDjtfHpY8QRyn8BKxGCx8k9E1qVRDbhee/ei2fHL1wslis5s4HdRC08/e+W5Se 6//hTi4VA3BEWrLM+YzmQp8KKd4VOJU6woRm7vR7zfqEYRJWMRDQyaNgnH3GxTHGbXIy +oWoh8FC1pnnP3HE7kImTRIuMGeijpLuTk0KaR1YTNOPOJhLB0QgXXufOZs/xyKpaoEA C4Kw== X-Gm-Message-State: ALoCoQnqD3hgBBx+gtiXKU1xVm6BS3fFYpelgxdaTmNny2xZ4T5abXx1S4FedsyG8EZs7ZPxFxKf MIME-Version: 1.0 X-Received: by 10.129.133.70 with SMTP id v67mr50529359ywf.158.1436092178415; Sun, 05 Jul 2015 03:29:38 -0700 (PDT) Received: by 10.37.215.15 with HTTP; Sun, 5 Jul 2015 03:29:38 -0700 (PDT) X-Originating-IP: [78.145.240.89] Date: Sun, 5 Jul 2015 10:29:38 +0000 Message-ID: To: Sherif Ramadan Cc: =?UTF-8?B?SmFrdWIgS3Viw63EjWVr?= , Dmitry Stogov , Bob Weinand , Andrea Faulds , PHP Internals , Nikita Popov , Aaron Piotrowski , Levi Morrison Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Revert unapproved language change, was: Fix division by zero to throw exception (round 2) From: danack@basereality.com (Dan Ackroyd) On 4 July 2015 at 20:56, Sherif Ramadan wrote: > > I'm proposing that we reconsider removing the warning from floating point > 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/f9724b93f6592d2f77fa9165038a0ba0db3da= 0c6 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? 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