Re: [PHP-DEV] Re: bug 52062

2012-01-04 Thread Derick Rethans
On Tue, 27 Dec 2011, Stas Malyshev wrote: > > 3. $d->setTimestamp(1000) is not ever going to work as > > zend_parse_parameters simply gives me long: 1215752192. This I find > > really strange actually. Any clue? > > That's probably float to long conversion, since 1000 is f

Re: [PHP-DEV] Re: bug 52062

2011-12-27 Thread Stas Malyshev
Hi! 3. $d->setTimestamp(1000) is not ever going to work as zend_parse_parameters simply gives me long: 1215752192. This I find really strange actually. Any clue? That's probably float to long conversion, since 1000 is float on 32-bit. -- Stanislav Malyshev, Software

[PHP-DEV] Re: bug 52062

2011-12-27 Thread Derick Rethans
On Sun, 25 Dec 2011, Stas Malyshev wrote: > I see that test for bug 52062 (marked as fixed by this commit: > http://svn.php.net/viewvc/?view=revision&revision=320481) now fails on my > 32-bit system. Looking at the patch and the test, it can not actually succeed, > as the test expects this: > int(