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

Remove support for PHP 5.6

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.8.0-beta1, 1.8.0
    • 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

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

              Created:
              Updated:
              Resolved: