Newsgroups: php.internals,php.qa Path: news.php.net Xref: news.php.net php.internals:28843 php.qa:28177 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8788 invoked by uid 1010); 15 Apr 2007 07:04:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 8756 invoked from network); 15 Apr 2007 07:04:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Apr 2007 07:04:53 -0000 Authentication-Results: pb1.pair.com header.from=sebastian@nohn.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sebastian@nohn.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain nohn.net from 85.214.77.40 cause and error) X-PHP-List-Original-Sender: sebastian@nohn.net X-Host-Fingerprint: 85.214.77.40 bxpcsr02.nohn.net Linux 2.5 (sometimes 2.4) (4) Received: from [85.214.77.40] ([85.214.77.40:42712] helo=bxpcsr02.nohn.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C2/20-05491-29EC1264 for ; Sun, 15 Apr 2007 03:04:52 -0400 Received: from localhost (localhost [127.0.0.1]) by bxpcsr02.nohn.net (Postfix) with ESMTP id 0274F3E4115; Sun, 15 Apr 2007 09:05:36 +0200 (CEST) Received: from bxpcsr02.nohn.net ([127.0.0.1]) by localhost (h939937.serverkompetenz.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22598-04; Sun, 15 Apr 2007 09:05:36 +0200 (CEST) Received: from ssl.nohn.org (localhost [127.0.0.1]) by bxpcsr02.nohn.net (Postfix) with ESMTP id BA80B3E4114; Sun, 15 Apr 2007 09:05:36 +0200 (CEST) Received: from 84.63.50.23 (SquirrelMail authenticated user sebastian@nohn.net) by ssl.nohn.org with HTTP; Sun, 15 Apr 2007 09:05:36 +0200 (CEST) Message-ID: <1956.84.63.50.23.1176620736.squirrel@ssl.nohn.org> In-Reply-To: <46211D80.8050609@zend.com> References: <46210672.2010804@nohn.net> <46211D80.8050609@zend.com> Date: Sun, 15 Apr 2007 09:05:36 +0200 (CEST) To: "Antony Dovgal" Cc: "Sebastian Nohn" , "Zend Framework General" , ilia@php.net, php-qa@lists.php.net, internals@lists.php.net User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] ZF 0.8.0 Unit Tests behaving different on PHP 5.2.1 and PHP 5.2.2-dev From: sebastian@nohn.net ("Sebastian Nohn") On Sat, April 14, 2007 8:29 pm, Antony Dovgal wrote: > On 04/14/2007 08:50 PM, Sebastian Nohn wrote: >> On PHP 5.2.1, ZendFramework 0.8.0 Unit Tests pass, while they fail on >> PHP 5.2.2-dev (latest CVS) on the same machine: >> >> 1) testDate(Zend_Date_DateObjectTest) >> Failed asserting that is identical to >> >> .../tests/Zend/Date/DateObjectTest.php:408 > > Would be nice to have a short but complete reproduce case. > Referring to some test (which I personally have never seen) is not really > helpful. This was the idea why PHP and ZF developers should come together. However, I investigated the issue and here is a small testcase: 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" - Sebastian