Re: PHP-5.5 unpack change broke pecl/pear
| From: | Remi Collet | Date: | Fri, 28 Dec 2012 09:08:48 +0000 |
| Subject: | Re: PHP-5.5 unpack change broke pecl/pear | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64457@lists.php.net to get a copy of this message | ||
Le 24/12/2012 04:16, Igor Wiedler a écrit :
> Hi Internals,
>
> When test driving PHP-5.5 I ran into issues with a change of unpack behaviour. Archive_Tar
> which is used by pecl and pear (
pecl install) uses unpack with the
> "a" format character. On 5.4 it strips trailing NUL bytes, on 5.5 it does not. There is a
> new "Z" format character that can be used to get the old behaviour. The point is, this
> change broke pecl, and will likely break many other things in existence.
>
> Anthony has asked me to post to internals, so that you can re-visit the issue and perhaps
> consider not breaking BC.
>
> If you decide that you want to keep the BC break, I will gladly submit a patch for Archive_Tar.
See http://pear.php.net/bugs/bug.php?id=19746
Remi.
>
> Thanks,
>
> Igor
>