Changed functions to accommodate PHP 5.4.22

Updated PHP version to 5.4.22 to match blue host