Revert "Fix to show PHP errors in 5.4"

This reverts commit 6fd46399411d9f43ab874151a3d5d32448d8fa70.