Am I right that the following syntax works in PHP 5.4 but doesn\'t work in PHP 5.3?
$users[$key][\'class\'] = $class->row_array()[\'name\'];
Array dereferencing has been introduced in PHP5.4
As of PHP 5.4 it is possible to array dereference the result of a function or method call directly. Before it was only possible using a temporary variable.
http://php.net/manual/en/language.types.array.php