Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1442

Remove support for PHP 5.6

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.0-beta1, 1.8.0
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: