Make 0.74 compatible with php5.4
Make 1.0.0 compatible with PHP 5.4