Converted an array to PHP5.3 compatible version