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

Move from each() function

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Minor
    • Resolution: Fixed
    • 4.0.0-a1, 3.3.0-RC1
    • 3.3.0
    • Other
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: