Converted array references to be compatible with PHP 5.3

I submitted a similar pull request to string-encode. This pull request will update php-html-parser to use PHP 5.3 array references.