Re: ZF 0.8.0 Unit Tests behaving different on PHP 5.2.1 and PHP 5.2.2-dev

From: Date: Tue, 17 Apr 2007 18:38:28 +0000
Subject: Re: ZF 0.8.0 Unit Tests behaving different on PHP 5.2.1 and PHP 5.2.2-dev
References: 1 2 3 4 5  Groups: php.internals php.qa 
Request: Send a blank email to php-qa+get-28207@lists.php.net to get a copy of this message
On 04/17/2007 10:37 PM, Sebastian Nohn wrote: $a = 6900000000; $b = "6900000000"; $c = $a.""; $d = (string)$a;
You're converting float to string and THEN trying to output as integer. My patch returns the old behaviour, though you're code is still wrong.
-- Wbr, Antony Dovgal

« previous php.qa (#28207) next »