-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
PHP 5.6 has been EOL'd since December 2018 (see: EOL and Supported Versions). The most recent PHP Version Stats (2019.1), which are derived from Composer usage, report a 7.7% overall usage for PHP 5.6.
Removing support for PHP 5 completely would allow us to drop a large number of compatibility code around ZVAL changes made for PHP 7.0. For example, there are currently more than 350 conditionals that distinguish code for PHP 7 and PHP 5, leading to considerable code duplication.
This task would entail:
- Bump the version requirement in package.xml
- Remove any compatibility code around macro definitions
- Remove any pre-7.0 SKIPIF checks in test files
- Reach out to remi regarding any downstream changes for Fedora packaging
- is depended on by
-
PHPC-1531 Sort out inconsistencies in argument declarations
- Closed
- related to
-
PHPC-996 Remove support for PHP 5.4
- Closed
-
PHPC-1377 Remove support for PHP 5.5
- Closed
-
PHPC-1527 Investigate usage of str_free vs. free
- Closed
-
PHPLIB-529 Remove support for PHP 5.6
- Closed