Problem/Motivation

PHP7 changed their Uniform Variable Syntax (according to this section of a lovely PHP7 reference document).

A search with following regex -\>\$[a-z0-9]*?\[ revealed a single location that is affected.

Proposed resolution

Use the new syntax with brackets to be php7 compatible.

Remaining tasks

Reviews needed.

User interface changes

None.

API changes

None.

Data model changes

None.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

das-peter created an issue. See original summary.

SylvainM’s picture

Status: Needs review » Reviewed & tested by the community

Patch works fine, thx

nagy.balint’s picture

nagy.balint’s picture

klausi’s picture

Issue tags: +PHP 7.0 (duplicate)
twistor’s picture

Issue tags: -php7

Confirmed that this is the only occurrence.

  • pifagor committed 6daf645 on 7.x-2.x
    Issue #2654222 by das-peter: PHP7 Uniform Variable Syntax. Issue #...
pifagor’s picture

Status: Reviewed & tested by the community » Fixed

Done

pifagor’s picture

Status: Fixed » Closed (fixed)