Fix PHP compatibility issue

PHP 5.4 compatible with array