fix PHP 5.3 compatibility problem
Merge pull request #2 from LennyLinux/master

fix PHP 5.3 compatibility problem