Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77223 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78573 invoked from network); 15 Sep 2014 16:32:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Sep 2014 16:32:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.216 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.216 imap10-3.ox.privateemail.com Received: from [192.64.116.216] ([192.64.116.216:33875] helo=imap10-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 55/31-64534-58417145 for ; Mon, 15 Sep 2014 12:32:07 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 362D72400D0; Mon, 15 Sep 2014 12:32:02 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap10.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap10.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SEINffB4rn70; Mon, 15 Sep 2014 12:32:02 -0400 (EDT) Received: from oa-res-27-90.wireless.abdn.ac.uk (oa-res-27-90.wireless.abdn.ac.uk [137.50.27.90]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 414D42400C3; Mon, 15 Sep 2014 12:32:00 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) In-Reply-To: Date: Mon, 15 Sep 2014 17:31:57 +0100 Cc: PHP Developers Mailing List Content-Transfer-Encoding: quoted-printable Message-ID: <528B8D9E-58FF-47DD-9B91-013F8844EC70@ajf.me> References: To: Levi Morrison X-Mailer: Apple Mail (2.1878.6) Subject: Re: [PHP-DEV] [VOTE][RFC] Integer Semantics From: ajf@ajf.me (Andrea Faulds) On 15 Sep 2014, at 17:24, Levi Morrison wrote: >> This RFC has been put to a vote. It starts today (2014-09-14) and = ends in a week=92s time (2014-09-21). >>=20 >> https://wiki.php.net/rfc/integer_semantics#vote >=20 > A few people have asked why I voted no; the only reason is that > division by zero will return `false` and emit a warning. Integers can > be converted to floating point numbers and dividing by zero in IEEE > 754 is defined as INF. I would rather leave behavior undefined by > voting no on this RFC than by defining it to a value which does not > make sense to me. The value false will get converted to zero in any > additional math, which is not the same as INF. The RFC does not touch division by zero. That was a suggestion for a = future RFC. I=92ve now removed that section to avoid confusion. -- Andrea Faulds http://ajf.me/