fixed array brackets to work with php 5.3

I saw that a merge from pull request, again broke examples in readme for php 5.3. fixed those. :+1: