Re: Re: bug 52062

From: Date: Wed, 04 Jan 2012 21:01:40 +0000
Subject: Re: Re: bug 52062
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-57213@lists.php.net to get a copy of this message
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

« previous php.internals (#57213) next »