Replace PHP 5.4  array brackets to support PHP 5.3