MDL-56459 competency: Invalid use of indirect property key
authorFrederic Massart <fred@moodle.com>
Wed, 16 Nov 2016 05:47:40 +0000 (13:47 +0800)
committerFrederic Massart <fred@moodle.com>
Wed, 16 Nov 2016 05:53:31 +0000 (13:53 +0800)
commit0eda810d17f70e8278a391e0644de1f7efbbbf01
tree879af50d93561b423d60acf42dc5f4468dd0adea
parentb4d6669dd0014cfa08a2e3394f6625a35e38d6b2
MDL-56459 competency: Invalid use of indirect property key

This change ensures that PHP7 and earlier work the same way. Before
the patch PHP < 7 would not expand the property as we expected it.

More information here:
http://php.net/manual/en/migration70.incompatible.php#migration70.incompatible.variable-handling.indirect
competency/classes/external/exporter.php
competency/tests/exporter_test.php