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.
Merge pull request #6 from miketheman/update_syntax

convert the array syntax to php 5.3