PHP 5.3 compatibility 2

Sorry, for multiple pull-requests.
Merge pull request #19 from nueckman/patch-2

PHP 5.3 compatibility 2