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 = 6900000000;
> $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

Reply via email to