Adding backwards compatibility for PHP versions < 5.4

See [docs for arrays](http://php.net/manual/en/language.types.array.php). Instantiating an array with `[]` is a newer feature and isn't compatible with all PHP versions. Using the older `array()` syntax allows more compatibility.