fixed array brackets to work with php 5.3
Merge pull request #12 from mohitmamoria/master

fixed array brackets to work with php 5.3