Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60928 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88077 invoked from network); 21 Jun 2012 18:16:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jun 2012 18:16:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=christopher.jones@oracle.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=christopher.jones@oracle.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain oracle.com designates 148.87.113.117 as permitted sender) X-PHP-List-Original-Sender: christopher.jones@oracle.com X-Host-Fingerprint: 148.87.113.117 rcsinet15.oracle.com Received: from [148.87.113.117] ([148.87.113.117:22757] helo=rcsinet15.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 61/10-21324-FD463EF4 for ; Thu, 21 Jun 2012 14:16:00 -0400 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q5LIFtnK032300 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 21 Jun 2012 18:15:56 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q5LIFrPJ024468 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Jun 2012 18:15:54 GMT Received: from abhmt109.oracle.com (abhmt109.oracle.com [141.146.116.61]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q5LIFrD4030575; Thu, 21 Jun 2012 13:15:53 -0500 Received: from [130.35.71.238] (/130.35.71.238) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 21 Jun 2012 11:15:53 -0700 Message-ID: <4FE364D8.9000204@oracle.com> Date: Thu, 21 Jun 2012 11:15:52 -0700 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: OISHI Kazuo CC: internals@lists.php.net References: <4FAF1EE5.5010409@sugarcrm.com> <4FDA8833.1040408@gmail.com> <874nqdnnas.fsf@molech.giraffy.jp> In-Reply-To: <874nqdnnas.fsf@molech.giraffy.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: ucsinet21.oracle.com [156.151.31.93] Subject: Re: [PHP-DEV] bug 54547 From: christopher.jones@oracle.com (Christopher Jones) On 06/14/2012 10:42 PM, OISHI Kazuo wrote: >>> I know this was discussed a number of times here, but just to bring it >>> to a conclusion - I intend to apply patch in the bug report - which >>> removes conversion for strings that do not convert to integers - to 5.4. >>> If anybody sees anything that breaks because of this please tell. >> >> "12345678901234567890" == "12345678901234567890.0" >> >> used to be true, is now false ... i'd still say that's ok though as >> it is a case of "never compare floats for equality" here, now that >> the decimal clearly says that at least the right side is supposed >> to be float, not integer ... > > In addition to == operator, >, <, >=, and <= operators are influenced. > > And, hexdecimal format for big number is now case-sensitive. > > http://www.mail-archive.com/internals@lists.php.net/msg58789.html > Can you add some phpt tests for all the cases you've raised? Chris -- christopher.jones@oracle.com http://twitter.com/#!/ghrd