Re: PHP 5.5.21RC1 is ready for testing - Behaviour change
| From: | Remi Collet | Date: | Sun, 11 Jan 2015 09:37:00 +0000 |
| Subject: | Re: PHP 5.5.21RC1 is ready for testing - Behaviour change | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80363@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le 08/01/2015 18:30, Julien Pauli a écrit :
> Hello
>
> PHP 5.5.21 RC1 is available for testing.
Trying to understand why Horde_Imap_Client test suite start to fail
with PHP 5.5.21RC1 and 5.6.5RC1.
This seeems related to
http://git.php.net/?p=php-src.git;a=commitdiff;h=86f18755362b594c519ccde37c3b3f98158b591e
https://bugs.php.net/68532
Previous:
Empty stream: Filter called once, with $closing=1
1 line stream: Filter called once, without closing (seems buggy)
Now:
Empty stream: Filter called once, with $closing=1
1 line stream: Filter called twice,
1st with the data and without closing
2nd without data and with closing=1
While the new behavior seems correct, this cause very bad
compatibility and not easy to detect at runtime :(
Remi.
P.S. guzzlehttp/streams and guzzlehttp/http are also broken, could be
also related to this change.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlSyRDwACgkQYUppBSnxahhzSQCfU0/NMdcdnWA7caZoM/dmI5/U
itUAnj97yuVnzDrvCY9IaYGPjlfGGvbB
=BrwQ
-----END PGP SIGNATURE-----