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

Modify variable-variable syntax to be compatible with PHP7

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.3, 3.2.0-dev
    • 3.1.4-RC1
    • None
    • None

    Description

      The variable-variable syntax that is currently being used needs to be updated to be compatible with PHP7.

      See related PR on github.com:
      https://github.com/phpbb/phpbb/pull/3389

      Modifying for example $$foo['bar'] to ${$foo['bar']} will also work in previous versions.

      For a complete write-up of the changes please take a look at the RFC (merged as of December 2014):
      https://wiki.php.net/rfc/uniform_variable_syntax

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: