Re: [fw-general] ZF 0.8.0 Unit Tests behaving different on PHP 5.2.1 and PHP 5.2.2-dev

2007-04-17 Thread Sebastian Nohn
Antony Dovgal wrote:
 On 04/17/2007 10:16 PM, Sebastian Nohn wrote:
 Dmitry Stogov wrote:

 It is bad practice to use echo $float or var_dump($float)
 because they depends on php.ini settings.
 You should use printf() of number_format() for deterministic result.
 
 ?php
 $a = 69;
 $b = $a.; -- that's the very same mistake
 printf(%d, $a); echo \n;
 printf(%d, $b); echo \n;
 ?

So please someone take care, that this is fixed in Zend Framework.
Occurs at least in Zend_Date_DateObject::date() with $timestamp.

- Sebastian


[fw-general] ZF 0.8.0 Unit Tests behaving different on PHP 5.2.1 and PHP 5.2.2-dev

2007-04-16 Thread Sebastian Nohn
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:69 is identical to string:6.9E+9
.../tests/Zend/Date/DateObjectTest.php:408

This behaviour is also reproducable on Zend Framework trunk.

I don't know, where the bug is (ZF or PHP), so it would be nice, if PHP
and ZF developers could come together to solve this.

- Sebastian



[fw-general] ZF 0.8.0

2007-03-22 Thread José de Menezes Soares Neto
Could someone send me the ZF 0.8.0?

I will start with it, cause there is no tutorial for ZF 0.9.0...

Best Regards,

José