Replace PHP 5.4 array syntax with older style
Merge pull request #4 from rjmackay/php-5-3-compat

PHP 5.3 branch