Re: Re: 64bit and phpng, votes and plans

From: Date: Tue, 20 May 2014 21:17:29 +0000
Subject: Re: Re: 64bit and phpng, votes and plans
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-74389@lists.php.net to get a copy of this message
Hi!

> 64bit int if int is 64bit. I prefer consistency, so array int key is better
> to support
> 64bit int key. IMHO.

Given that 99.9999% of PHP users will never need it, but 100% of PHP
users will pay in performance for each size increase, we need to be
careful here. "Consistency" is not more magic word than "security".

> Similar argument applies to string also. It would be WTF, when users try to
> access string offset over 32bit values. Data dealt with PHP is getting
> larger
> and larger. It would be an issue sooner or later.

Not likely, unless somehow PHP becomes language of choice for processing
big data. Which I don't see exactly happening. But if it ever happens,
we can deal with it then.
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227


Thread (29 messages)

« previous php.internals (#74389) next »