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

Remove support for PHP 5.6

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.8.0-beta1, 1.8.0
    • None
    • 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 regarding any downstream changes for Fedora packaging

      Attachments

        Issue Links

          Activity

            People

              andreas.braun@mongodb.com Andreas Braun
              andreas.braun@mongodb.com Andreas Braun
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: