Added PHP 5.4.x Support

Now it can run on PHP 5.4.x ...