Newsgroups: php.internals,php.qa Path: news.php.net Xref: news.php.net php.internals:28924 php.qa:28228 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55909 invoked by uid 1010); 19 Apr 2007 09:34:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55894 invoked from network); 19 Apr 2007 09:34:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Apr 2007 09:34:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=antony@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=antony@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: antony@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:23389] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 47/ED-23065-88737264 for ; Thu, 19 Apr 2007 05:34:03 -0400 Received: (qmail 27994 invoked from network); 19 Apr 2007 09:33:57 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 19 Apr 2007 09:33:57 -0000 Message-ID: <46273782.7070909@zend.com> Date: Thu, 19 Apr 2007 13:33:54 +0400 User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: Sebastian Nohn CC: Zend Framework General , ilia@php.net, php-qa@lists.php.net, internals@lists.php.net References: <46210672.2010804@nohn.net> <46211D80.8050609@zend.com> <1956.84.63.50.23.1176620736.squirrel@ssl.nohn.org> In-Reply-To: <1956.84.63.50.23.1176620736.squirrel@ssl.nohn.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: diff in double-to-string conversion 5.2.1 vs 5.2.2 From: antony@zend.com (Antony Dovgal) On 04/15/2007 11:05 AM, Sebastian Nohn wrote: > $a = 6900000000; > var_dump($a); > $b = "A is: ".$a; > var_dump($b); > ?> > > 5.2.1 output is: > > float(6.9E+9) > string(16) "A is: 6900000000" > > 5.2.2-dev output is: > > float(6.9E+9) > string(12) "A is: 6.9E+9" Fix committed, please test the next snapshot. -- Wbr, Antony Dovgal