On Tue, 27 Dec 2011, Stas Malyshev wrote: > > 3. $d->setTimestamp(100000000000) 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 100000000000 is float on > 32-bit.
Well, it isn't. Set a breakpoint on date_timestamp_set() and see what it does. It's really quite weird with what zend_parse_parameters does. Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php