Removed php error handler functions.