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

Modify variable-variable syntax to be compatible with PHP7

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.3, 3.2.0-dev
    • Fix Version/s: 3.1.4-RC1
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: