Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57213 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62471 invoked from network); 4 Jan 2012 21:01:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jan 2012 21:01:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:42804] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EB/54-50667-93EB40F4 for ; Wed, 04 Jan 2012 16:01:47 -0500 Received: from localhost (xdebug.org [127.0.0.1]) by xdebug.org (Postfix) with ESMTPS id 9F5F2DE13D; Wed, 4 Jan 2012 21:01:40 +0000 (GMT) Date: Wed, 4 Jan 2012 21:01:40 +0000 (GMT) X-X-Sender: derick@whisky.home.derickrethans.nl To: Stas Malyshev cc: PHP Internals In-Reply-To: <4EFA7794.5070800@sugarcrm.com> Message-ID: References: <4EF7C0EC.8070807@sugarcrm.com> <4EFA7794.5070800@sugarcrm.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Re: bug 52062 From: derick@php.net (Derick Rethans) 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