PHP-5.5 unpack change broke pecl/pear

From: Date: Mon, 24 Dec 2012 03:16:35 +0000
Subject: PHP-5.5 unpack change broke pecl/pear
Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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.

Thanks,

Igor


Thread (11 messages)

« previous php.internals (#64417) next »