php打印错误报告

//error handler function
function customError($errno, $errstr){ 
echo "<b>Error:</b> [$errno] $errstr";
}

//set error handler
set_error_handler("customError");

//代码====

posted @ 2018-11-13 17:43  study_php_java_C++  阅读(738)  评论(0编辑  收藏  举报