Re: [VOTE] [RFC] 64 bit platform improvements for string length and integer
| From: | Andrea Faulds | Date: | Wed, 14 May 2014 08:57:52 +0000 |
| Subject: | Re: [VOTE] [RFC] 64 bit platform improvements for string length and integer | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74173@lists.php.net to get a copy of this message | ||
On 14 May 2014, at 09:53, Dmitry Stogov <dmitry@zend.com> wrote:
> PHP supports 64bit for ages, and this proposal has nothing common with
> 64bit support in general.
> It allows 2GB strings, but do you imagine a web application that need them?
> However, each big PHP site will have to "pay" for it.
FWIW, it does concern general 64-bit support. It makes PHP act consistently across all 64-bit
platforms.
Also, switching to size_t for string length does not just mean ‘2GB strings’. It means using the
right tool for the job. Even the C standard library uses size_t for string length!
--
Andrea Faulds
http://ajf.me/