Fixed PHP 5.3 compatibility.
Merge branch 'master' of https://github.com/userapp-io/userapp-php