Added PHP 5.4 compatibility

(And regenerated file sums and gave it a directory structure)