Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74289 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51439 invoked from network); 17 May 2014 19:02:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 May 2014 19:02:03 -0000 Authentication-Results: pb1.pair.com header.from=inefedor@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=inefedor@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.44 as permitted sender) X-PHP-List-Original-Sender: inefedor@gmail.com X-Host-Fingerprint: 209.85.215.44 mail-la0-f44.google.com Received: from [209.85.215.44] ([209.85.215.44:45277] helo=mail-la0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AD/A1-43080-922B7735 for ; Sat, 17 May 2014 15:02:02 -0400 Received: by mail-la0-f44.google.com with SMTP id hr17so2947191lab.17 for ; Sat, 17 May 2014 12:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:to:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=8GUvqNQ3N67nlLwUFQcbpNWrJgkoEy3qHqCINRZ0f6M=; b=aT+nRl115c0iU+tD3gPI2ul3cSNc7bmDfJf+JzYbSpvhEMuRVL3hwYp0SBiyR7QkPp UJ1A56YZK1fsfCsNx0+Bl8QdZVRaq0XS+s07/Djwep4Yh5Xc4xLfEuAAF/dZt5XgKcvY Hbl4F1KNCgh4zrd4o8cRFQe+lJp1OUxZyxznAOePk6E6IoH/ka27LpBmkSEbO7fhR0TT IlS8VjWAROfcBC1rWv3tM/BEaBvAhLmYpkZSgrf3WLthKoSvtio2/NeNNYSIcuY7R3Du y2eNoOKPCjZrVxxZT+Z22pIrNUK9zM3xrlI3Vd9ilQ+7/ysQcUm5qV44WKXX6fdWrHKM RtKw== X-Received: by 10.152.19.195 with SMTP id h3mr8135523lae.47.1400353319077; Sat, 17 May 2014 12:01:59 -0700 (PDT) Received: from nikita-pc (95-27-142-37.broadband.corbina.ru. [95.27.142.37]) by mx.google.com with ESMTPSA id lq20sm12184841lbb.24.2014.05.17.12.01.57 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 17 May 2014 12:01:57 -0700 (PDT) Content-Type: text/plain; charset=koi8-r; format=flowed; delsp=yes To: internals@lists.php.net References: Date: Sat, 17 May 2014 23:01:56 +0400 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: User-Agent: Opera Mail/12.17 (Win32) Subject: Re: [PHP-DEV] Rethinking 64bit sizes and PHP-NG From: inefedor@gmail.com ("Nikita Nefedov") On Sat, 17 May 2014 22:27:02 +0400, Nikita Popov wrote: > Hi internals! > > The discussions around the patch for improved 64bit support have > deteriorated from a semi-reasonable discussions to pointless accusations > and name-calling. I'd like to get back to discussing this issue from a > technical point of view and see which parts of the patch can be salvaged > and which can not. Hey, First thank you for arranging all this points. I just wanted to ask: could we also make nNextFreeElement be unsigned? Because with your proposal it would be possible to overflow it with the code like this: $array[pow(2, 32) + 1] = 123; (if I understand it correctly) And besides that we can't have negative keys anyway.