PHP5.3 compatibility
Merge pull request #10 from Seldaek/patch-2

PHP5.3 compatibility