Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13597

Modify variable-variable syntax to be compatible with PHP7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.4-RC1
    • 3.1.3, 3.2.0-dev
    • None
    • None

      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

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

              Created:
              Updated:
              Resolved: