PHP 5.3.3 support

Added PHP 5.3.3 support by fixing a bug that would only appear with that version.

Now Travis runs the test for 5.3.3 so any other regression should be catched instantly.