Fix array notation for php < 5.4
Merge pull request #367 from EmmanuelVella/fix

Fix array notation for php < 5.4