Re: Re: PHP 7.0.0alpha2 Released for Testing!
| From: | Remi Collet | Date: | Fri, 26 Jun 2015 06:38:12 +0000 |
| Subject: | Re: Re: PHP 7.0.0alpha2 Released for Testing! | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86896@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le 25/06/2015 16:41, Jan Ehrhardt a écrit :
> Kalle Sommer Nielsen in php.internals (Thu, 25 Jun 2015 16:06:15
> +0200):
>> This release fixes about 25 bugs reported since the first alpha
>> and it implements the Throwable interface with changes to the
>> exception hierarchy.
>
> Am I looking with my nose or isn't a change in the Zend API not
> announced anywhere? The RETVAL_ZVAL_FAST and RETURN_ZVAL_FAST
> macros were removed. This breaks the pecl http extension. See
>
> https://github.com/php/php-src/commit/8e10e8f921101e0787c8228d257107a2
04de3e36#commitcomment-11843858
There
>
is other breakage between alpha1 and alpha2.
I notice some extensions (built against alpha1) crash against alpha2
Ex: (php -v)
PHP Warning: Method Yar_Client::__call() cannot take arguments by
reference in Unknown on line 0
PHP Fatal error: Declaration of Yaf_Config_Ini::offsetSet() must be
compatible with ArrayAccess::offsetSet(
$offset, $value) in Unknown on line 0
Or https://github.com/hprose/hprose-pecl/pull/10/files
For me, the safe way was to rebuild "all" extensions against alpha2.
Remi.
P.S. of course I hope, with the feature freeze this will not happen
again ;) (a mass-rebuild is always a quite long task)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlWM81QACgkQYUppBSnxahiAgACgkro+KN3oeab83k9x9QcMwqci
SZcAoMX4PIdl3RFAzqOYINl6rCO7QfZN
=S+yX
-----END PGP SIGNATURE-----