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

PHP 8.3: Path to saner inc/dec operators

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.4
    • 4.4
    • General

      https://php.watch/rfcs/saner-inc-dec-operators
      https://wiki.php.net/rfc/saner-inc-dec-operators

      We have a couple of uses of this in core. Hard to know exactly where, but it's things like:

      $classname = 'example_000001';
      while (class_exists($classname)) {
          $classname++;
      }
      

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Stevani Andolo Stevani Andolo
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 12 minutes
                2h 12m

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