Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73966 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61546 invoked from network); 6 May 2014 11:22:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 May 2014 11:22:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:33778] helo=klapt.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B5/E0-53252-BF5C8635 for ; Tue, 06 May 2014 07:22:36 -0400 Received: by klapt.com (Postfix, from userid 33) id E4BE223D6106; Tue, 6 May 2014 13:22:31 +0200 (CEST) Received: from 188.110.63.152 (SquirrelMail authenticated user anatol@belski.net) by webmail.klapt.com with HTTP; Tue, 6 May 2014 13:22:31 +0200 Message-ID: In-Reply-To: <0DCCC25C-D212-48B9-8D39-42E0B334683C@ajf.me> References: <0DCCC25C-D212-48B9-8D39-42E0B334683C@ajf.me> Date: Tue, 6 May 2014 13:22:31 +0200 To: "Andrea Faulds" Cc: "Anatol Belski" , "PHP Internals" User-Agent: SquirrelMail/1.5.2 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] [RFC] 64 bit platform improvements for string length and integer From: anatol.php@belski.net ("Anatol Belski") Hi Andrea, On Tue, May 6, 2014 10:07, 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. > this was not implemented. The complexity of the patch would increase as well as the danger of the miscarriage danger. You can see this as a middle stage, without this change one will have to start over for int64 on 32 bit. Whereby I have to mention that there's no plan to implement this yet, please note also the performance concerns. It's to see there are more people interested on that, if such a project exist later, i would participate on that. Regards Anatol