Remove unfollowing functions for PHP5.4
Merge branch 'php5.4'