PHP 5.3 support
Merge pull request #1 from mbman/php5.3

PHP 5.3 support