Re: The ABI and bug 68057
| From: | Pierre Joye | Date: | Mon, 22 Sep 2014 19:50:45 +0000 |
| Subject: | Re: The ABI and bug 68057 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77482@lists.php.net to get a copy of this message | ||
On Mon, Sep 22, 2014 at 8:48 PM, Bob Weinand <bobwei9@hotmail.com> wrote:
> https://bugs.php.net/bug.php?id=68057
>
> is a regression introduced in PHP 5.6.
> So code which still worked with PHP 5.5 breaks in 5.6.
>
> The big issue is here, that the fix for this bug requires ABI breakage. (changing an unsigned
> short into a zend_uint)
>
> I know that ABI compatibility is a pretty serious issue here, but it also means that some
> perfectly valid PHP 5.5 code which is supposed to still work on 5.6 will silently break.
> So, is it worth to break ABI or does it have to wait for 5.7 or the next major?
Is the actual code used by the parser exposed? If yes it will be
somehow bad as ext maintainers relying on this will need two different
builds. I do not think there are many affected exts out there tho'. If
not, then it is easy :)
--
Pierre
@pierrejoye | http://www.libgd.org