Removed PHP 5.4+ only code