Converted array references to be compatible with PHP 5.3

A large number of people still use PHP 5.3. I've gone through and converted the array references from ```[]``` to ```array()``` to make this project compatible with PHP 5.3.

I read the contributing document, and while I wouldn't necessarily consider this a bug fix, I don't know if I'd consider it a new feature either so I didn't create the Proposal issue.