WIP: Update to PHP 7.4
The upgrade for #11002 (closed)
Upgrade of PHP to 7.4 and rebuild of php extensions for it
- supersedes !1808 (closed)
- upgrade for extensions rebased from !9179 (closed) where tests for dependent ones were tested
- some work for linting using !9194 (closed)
Ref https://www.php.net/manual/en/migration74.php
Current state https://github.com/php/php-src/blob/PHP-7.4/UPGRADING
- removed extensions (recode & wddx) https://www.php.net/manual/en/migration74.removed-extensions.php
- onigmura has been unbundled in https://github.com/php/php-src/commit/d1c1481081ef6280bf403b290501ca62d736cb8b
- added
TRAVIS=true SKIP_IO_CAPTURE_TESTS=1
because tests now rely on this variables to skip risky tests - added
-D_LARGEFILE_SOURCE and -D_FILE_OFFSET_BITS=64
as recommended https://www.php.net/manual/en/intro.filesystem.php - lots of tests now pass but few new ones added and sorted (echant2 compatibility could be backported as patches from master)
Language evolution: https://github.com/php/php-rfcs/pull/2
List of failed tests updated from https://code.foxkit.us/adelie/packages/-/blob/master/user/php7/disabled-tests.list
Rebuild of dependencies
Following packages got fixes for tests (expect fresher releases when PHP 8.0 alpha1 will appear in few weeks)
-
community
-
php7-pecl-igbinary
- https://github.com/iusrepo/php74-pecl-igbinary/pull/1 -
php7-pecl-zmq
- using patches already and waiting for https://github.com/zeromq/php-zmq/commit/4ad1b33e095924bd4ccf79295999dd54edaaac37
-
-
testing
-
php7-pecl-decimal
- 3 broken tests, waiting for new release -
php7-pecl-seaslog
- https://github.com/SeasX/SeasLog/pull/287
-
I gonna merge as cumulative change when it starts to pass tests
Edited by Andy Postnikov