Re: Rethinking 64bit sizes and PHP-NG

From: Date: Sat, 17 May 2014 19:01:56 +0000
Subject: Re: Rethinking 64bit sizes and PHP-NG
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-74289@lists.php.net to get a copy of this message
On Sat, 17 May 2014 22:27:02 +0400, Nikita Popov <nikita.ppv@gmail.com> 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.

Thread (34 messages)

« previous php.internals (#74289) next »