[#61435466] PHP 5.3 compatability fix

New PHP 5.4 feature breaks code on 5.3.x:
http://www.php.net/manual/en/migration54.new-features.php
Function array dereferencing has been added, e.g. foo()[0].