getting rid of php alternative array syntax