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

'object' reserved from php7 onwards

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.0.1
    • Component/s: General
    • Labels:

      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

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  21/Dec/15