removed PHP 5.4 code