Hi,
In case you miss it, 7.1.0RC6 was just built in rawhide (this should be the last RC before GA)
This means Koschei now monitors PHP stack against 7.1 And we already have lot of reports about FTBFS
Please check your packages, and/or other owners' ones.
I will also start to work on broken ones.
Regards,
Remi.
Le 14/11/2016 à 14:23, Remi Collet a écrit :
I will also start to work on broken ones.
Some common explanations for breakage:
- mcrypt is deprecated :)
so raise some deprecation messages
- A non well formed numeric value encountered
E.g. $a="1 GB"; return $a+1;
Should be $a="1 GB"; return (int)$a+1;
- DateTime comparison (with microseconds)
new DateTime("now") == new DateTime("now")
"nearly" always true on PHP <= 7.0 "nearly" always false on PHP >= 7.1
Remi.
One more case:
With PHP <= 7.0, json_encode for double use the precision configuration option (default = 14)
Starting with 7.1, json_encode uses the serialize_precision option (default is 17, but will be moved to -1 in 7.1.0 GA)
Ex: http://pkgs.fedoraproject.org/cgit/rpms/php-phpunit-PHP-CodeCoverage.git/com...
Remi.
php-devel@lists.fedoraproject.org