Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28863 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50466 invoked by uid 1010); 16 Apr 2007 18:15:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 50436 invoked from network); 16 Apr 2007 18:15:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Apr 2007 18:15:27 -0000 Received: from [127.0.0.1] ([127.0.0.1:23508]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id CA/E8-18278-C3DB3264 for ; Mon, 16 Apr 2007 14:15:24 -0400 Authentication-Results: pb1.pair.com header.from=thomas.weidner@gmx.at; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=thomas.weidner@gmx.at; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.at designates 213.165.64.20 as permitted sender) X-PHP-List-Original-Sender: thomas.weidner@gmx.at X-Host-Fingerprint: 213.165.64.20 mail.gmx.net Linux 2.5 (sometimes 2.4) (4) Received: from [213.165.64.20] ([213.165.64.20:33127] helo=mail.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7F/F7-18278-409B3264 for ; Mon, 16 Apr 2007 13:57:26 -0400 Received: (qmail invoked by alias); 16 Apr 2007 17:57:21 -0000 Received: from h082218005044.host.wavenet.at (EHLO Tomtop) [82.218.5.44] by mail.gmx.net (mp018) with SMTP; 16 Apr 2007 19:57:21 +0200 X-Authenticated: #10232550 X-Provags-ID: V01U2FsdGVkX1+fv6l1lLGfT4yRCvz/ZmW746ILs9CrBMT34h3i6u e7w1BX1OMLz+0f Message-ID: <007001c78050$ad1a7600$6401a8c0@vie.voxtronic.local> To: "Sebastian Nohn" , "Antony Dovgal" Cc: "Sebastian Nohn" , "Zend Framework General" , , , References: <46210672.2010804@nohn.net> <46211D80.8050609@zend.com> <1956.84.63.50.23.1176620736.squirrel@ssl.nohn.org> <46232F84.70603@zend.com> <1450.195.227.76.130.1176712351.squirrel@ssl.nohn.org> Date: Mon, 16 Apr 2007 19:57:12 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Y-GMX-Trusted: 0 Subject: Re: [fw-general] Re: [PHP-DEV] ZF 0.8.0 Unit Tests behaving different on PHP 5.2.1 and PHP 5.2.2-dev From: thomas.weidner@gmx.at ("Thomas Weidner") Sebastian, it should also be mentioned that when you are refferring to a test within ZF you should always look against the latest version of ZF. Since 0.8 I've fixed several issues for the I18N core and about 2000 lines of code have changed only for I18N which you are referring with Zend_Date_Dateobject-Tests. Independent on why this failure is there I also have to mention that I think that we will not fix issues within ZF which are raised due to the development tree of a php version. If php 5.2.2 is released and we have an issue with it we will fix it, but as this php version will probably be changed until it's release it would be nonsense to fix bugs which may be not in there when the new version of php is released. But keep your good work going... you've already found some nasty bugs which have been fixed ;-) Greetings Thomas I18N Team Leader for the Zend Framework ----- Original Message ----- From: "Sebastian Nohn" To: "Antony Dovgal" Cc: "Sebastian Nohn" ; "Zend Framework General" ; ; ; Sent: Monday, April 16, 2007 10:32 AM Subject: [fw-general] Re: [PHP-DEV] ZF 0.8.0 Unit Tests behaving different on PHP 5.2.1 and PHP 5.2.2-dev > On Mon, April 16, 2007 10:10 am, Antony Dovgal wrote: >> 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" >> >> Nice catch, thanks. >> >> What do you think is the most correct output for 1 000 000 000 000 000 >> (with precision = 14)? >> Versions <= 5.2.1 output "1E+15", 5.2.2 says "1.0E+15". > > Whatever is done, if the result is a different behaviour between 5.2.1 and > 5.2.2, it needs to be documented in the change log / release notes. > > - Sebastian