convert the array syntax to php 5.3

As discussed in person w/@mrtazz, this change should make the code backwards
compatible with php 5.3.