function myErrorHandler($errno, $errstr, $errfile, $errline) { echo "<b>Custom error:</b> [$errno] $errstr\r\n"; echo " Error on line $errline in $errfile\r\n";}
set_error_handler("myErrorHandler");
posted on 2017-05-16 14:34 dongruiha 阅读(239) 评论(0) 编辑 收藏 举报