From 67a579b58b05c5bb6a08454111a3c94852304bb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E7=82=B9?= Date: Mon, 20 Mar 2017 18:02:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=81=97=E6=BC=8F=E7=AC=A6?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 错误处理.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/错误处理.md b/错误处理.md index 2ba52e3..9fa623f 100644 --- a/错误处理.md +++ b/错误处理.md @@ -4,7 +4,7 @@ ```php set_exception_handler(function($exception){ - error_log("code:" . $exception->getCode . ' exception: ' . $exception->getMessage()); + error_log("code:" . $exception->getCode() . ' exception: ' . $exception->getMessage()); }); ```