Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16277

Move from each() function

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Unverified Fix (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.0-a1, 3.3.0-RC1
    • Fix Version/s: 3.3.0
    • Component/s: Other
    • Labels:
      None

      Description

      As each() function has been deprecated as of PHP 7.2, it should be replaced in the codebase using another ways (foreach()/key()/current()).

      Also, each() has been removed in PHP 8.0 https://github.com/php/php-src/blob/master/UPGRADING#L39

      https://www.php.net/manual/en/function.each.php

        Attachments

          Activity

            People

            Assignee:
            Marc Marc
            Reporter:
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: