Adding PHP5.3 backwards compatibility
Merge pull request #1 from shakie/php53-compat

Adding PHP5.3 backwards compatibility