Re: [RFC] 64 bit platform improvements for string length and integer

From: Date: Thu, 23 Jan 2014 15:48:37 +0000
Subject: Re: [RFC] 64 bit platform improvements for string length and integer
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-71440@lists.php.net to get a copy of this message
On Thu, Jan 23, 2014 at 4:14 PM, Martin Keckeis <martin.keckeis1@gmail.com>wrote: > >> If this patch is included in PHP 5.6 I think it is very likely that many >> extensions will not be updated or take a long while in updating. It's one >> thing to add two or three new ifdefs to support a new PHP release and >> something entirely else to change virtually all types in your code and >> verify that it is still safe with the new sizes. >> >> I remember how lack of proper APC support was seen as a major problem with >> adoption of PHP 5.4 - now imagine how lack of support by nearly all >> extensions would look like... >> > > If i look on the progress list, the most common used extensions are > already ported? > https://wiki.php.net/rfc/string-size_t/progress > Those are bundled extensions. All core extensions will be updated before this lands (at least I'd assume so, would make little sense otherwise). I'm talking about third-party extensions here, e.g. those on PECL or elsewhere. Updating bundled extensions is simple because you only need to support the new APIs, whereas third-party extensions need to support multiple PHP versions - if the API changes so drastically that is complicated. Nikita

« previous php.internals (#71440) next »