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 Collet regarding any downstream changes for Fedora packaging