Convert syntax to PHP 5.3

Continuation of 844fdaeb628a749f30e58ff5cc4fcdee4d2f97c9

* Change `[]` to `array()`
* Replace short tags with `<?php echo`
* Remove function array dereferencing