Removed PHP 5.4+ only code (reverted from commit 9a93b946f48980c3c580c959c90d55993d268631)