Enabled PHP 5.3

Support was broken due to a mistake with the shutdown function.

Enabled php 5.3 on travis

Fixed issue with callback
Merge pull request #3 from csarrazi/php53

Enabled support for PHP 5.3