Adding a fix for PHP 5.4 style arrays.
Merge pull request #116 from brandonsavage/php54arrayfix

Adding a fix for PHP 5.4 style arrays.