Files
selima-perl/lib/php/monica/errhndl.inc.php
2026-03-10 21:31:43 +08:00

17 lines
500 B
PHP

<?php
// File name: errhndl.inc.php
// Description: PHP subroutine for some error handlers
// Date: 2004-05-28
// Author: imacat <imacat@pristine.com.tw>
// Copyright: Copyright (C) 2004-2007 Pristine Communications
// null_error_handler: Temporarily disable the normal error handler
// $php_errormsg was set in the original error handler. We have to set it manually.
function null_error_handler($no, $message, $file, $line, $context)
{
$GLOBALS["php_errormsg"] = $message;
return;
}
?>