Fix broken support for php 5.3 with using [] instead of arrays