Fix compatibility break with PHP 5.3
Merge pull request #7 from Kunstmaan/fix/php53

Fix compatibility break with PHP 5.3