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

Investigate in_array usage

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 3.11
    • None
    • General

    Description

      Investigate the usages and results of in_array in currently supported php versions.

      During a review of MDL-70967, it was identified that in_array throws up false +ves/-ves. It was suggested to review it's usages and confirm there are no hidden cases where this is failing and not being picked up. Refer to this comment

      Note: I've only included enrolments and 3.11 but this should be a core-wide check.

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              peterdias Peter Dias
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: