Just doing a little cleanup and noticed $var->$key should be $var->{$key}

http://php.net/manual/en/migration70.incompatible.php

CommentFileSizeAuthor
#2 2873171-2.patch2.35 KBjoelpittet

Comments

joelpittet created an issue. See original summary.

joelpittet’s picture

Status: Active » Needs review
StatusFileSize
new2.35 KB

  • joelpittet committed 84a119b on 7.x-3.x
    Issue #2873171 by joelpittet: PHP7 readiness
    
joelpittet’s picture

Status: Needs review » Fixed

Pushed this to -dev

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

jweowu’s picture

Just FYI, all of those changes are harmless but entirely redundant. The backwards-compatibility breaks did not affect any of that code.

See https://wiki.php.net/rfc/uniform_variable_syntax for full details.