change to use php5.4 style array