'. $message .'

'; } function handle_error($errno, $errstr, $errfile, $errline) { if (!(error_reporting() & $errno)) { // This error code is not included in error_reporting, so let it fall // through to the standard PHP error handler return false; } switch ($errno) { // See https://www.php.net/manual/en/errorfunc.constants.php case E_USER_NOTICE: user_notice($errstr); break; default: return false; } return true; } $old_error_handler = set_error_handler('handle_error'); ?>