fix for literal access to array for PHP 5.4

used Fedora 18, PHP 5.4.23