Adding a fix for PHP 5.4 style arrays.