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 <string:6900000000> is identical to >> <string:6.9E+9> >> .../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: <?php $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" - Sebastian -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php