title: PHP error handler function or class?
body: <p>I'm getting close to taking a PHP application live and so I know that I need to disable error reporting (to hide errors from users) and instead log the errors. </p>
  
  <p>I found the <code>set_error_handler</code> function in the PHP docs and there is an example shown, but I'm wondering if there is any kind of standard error handler function (to be set as the callback in <code>set_error_handler</code>) or class that is typically used by PHP developers to log errors?</p>
  
  <p>If there isn't a function or class that is considered "standard," would you show your error handling function?</p>