Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57097 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89041 invoked from network); 26 Dec 2011 08:40:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Dec 2011 08:40:18 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; 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:34084] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AC/93-55501-1F238FE4 for ; Mon, 26 Dec 2011 03:40:17 -0500 Received: from [192.168.1.101] (79-77-219-129.dynamic.dsl.as9105.com [79.77.219.129]) by xdebug.org (Postfix) with ESMTPSA id 2B6DBDE13D; Mon, 26 Dec 2011 08:40:14 +0000 (GMT) References: <4EF7C0EC.8070807@sugarcrm.com> User-Agent: K-9 Mail for Android In-Reply-To: <4EF7C0EC.8070807@sugarcrm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Mon, 26 Dec 2011 08:40:11 +0000 To: Stas Malyshev ,PHP Internals Message-ID: <254a46ca-7671-4e38-8fbf-a70dffce2196@email.android.com> Subject: Re: [PHP-DEV] bug 52062 From: derick@php.net (Derick Rethans) Stas Malyshev wrote: > Hi! > > 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(100000000000) > which is not possible on 32-bit system, and the code actually compares > > the result to LONG_MAX which is 32-bit and returns false when it's > bigger that that. So I'd like to know what was the intent there: > > 1. Return false on 32-bit and the test should be fixed to account for > 32-bit and 64-bit? > 2. Return float on 32-bit? > 3. Do something else? > > Please advise. > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php I'll have a look when I get back home. Is there anything else you want me to look at? cheers, Derick