PHP捕捉普通異常和致命錯誤

普通錯誤用set_error_handler來捕捉,致命錯誤則用register_shutdown_function來捕捉:php set_error_handler(function($errno, $errstr, $errfile, $errline){ $errorContent = $errstr . ' '.$errfile . ' ' . 'line:' .
相關文章
相關標籤/搜索