Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-79893

PHP 8.3: Class constant type declarations in some PHP extension classes

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 4.3.1, 4.4
    • General

      https://php.watch/versions/8.3/ext-class-constant-type-declarations

      As a follow-up change to PHP supporting class constant types in PHP 8.3, Phar, SNMP, and Phar extension class constants are updated with constant types.

      Any user-land PHP classes that extend the following classes and override existing constants will result in a fatal error.

      It is uncommon for user-land PHP classes to extend these classes and override the constants.

      Affected extensions:

      \Phar class from Phar extension
      \SNMP class from SNMP extension
      \ZipArchive class from Zip extension

      Required

      1. Confirm whether we extend any of the above classes (I can't see any)
      2. If we do, confirm if we are impacted by this change

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Raquel Ortega Raquel Ortega
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.