Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73959 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30853 invoked from network); 6 May 2014 09:16:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 May 2014 09:16:32 -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:39444] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2E/84-04569-F68A8635 for ; Tue, 06 May 2014 05:16:31 -0400 Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 288D5DE8C4; Tue, 6 May 2014 10:16:27 +0100 (BST) Date: Tue, 6 May 2014 10:16:27 +0100 (BST) X-X-Sender: derick@whisky.home.derickrethans.nl To: Andrea Faulds cc: Anatol Belski , PHP Internals In-Reply-To: <0DCCC25C-D212-48B9-8D39-42E0B334683C@ajf.me> Message-ID: References: <0DCCC25C-D212-48B9-8D39-42E0B334683C@ajf.me> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] [RFC] 64 bit platform improvements for string length and integer From: derick@php.net (Derick Rethans) On Tue, 6 May 2014, Andrea Faulds wrote: > > On 6 May 2014, at 09:01, Anatol Belski wrote: > > > https://wiki.php.net/rfc/size_t_and_int64_next > > Am I reading this incorrectly, or is this suggesting switching to > 64-bit types for int(), but only for 64-bit builds? I would prefer to > switch to 64-bit on 32-bit platforms as well, for the sake of > consistency. PHP code should behave identically on 32-bit and 64-bit > systems. I would agree to that. And to counteract "this is going to be slower", well, perhaps, but then again, AMD64 processors have been out for more than 10 years. And there are even ARM64 processors now, and you'd hardly use ARM processors for running PHP at full speed.. If you're still on 32bit, maybe it's time to upgrade. cheers, Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug Posted with an email client that doesn't mangle email: alpine