ported to php 5.3
Merge pull request #11 from staabm/php5.3_tests

ported test-suite to Php5.3