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

'object' reserved from php7 onwards

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.1
    • 3.0.1
    • General

    Description

      php7cc reported that 'object' is reserved in PHP7 http://php.net/manual/en/reserved.other-reserved-words.php

      File: /home/davidm/Desktop/moodlecode/int/master/lib/setuplib.php
      > Line 66: Name "object" that is reserved for future use (does not cause an error in PHP 7) used as a class, interface or trait name
      class object extends \stdClass
      {
      }

      Attachments

        Issue Links

          Activity

            People

              poltawski Dan Poltawski
              dmonllao David Monllaó
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              David Monllaó David Monllaó
              John Okely John Okely
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                21/Dec/15