bib_errors can be used to intercept runtime errors of PHP scripts. It
registers a PHP error handler function that outputs the details about
the errors to a given log file. The errors can be displayed as part of
the current script output or sent to a given email address to let the
site administration or developer react promptly.