From 47f79024fc94d7f7f9980440bbb1d6655ba053a8 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 2 Mar 2018 10:49:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9Btrace=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/debug/Html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/debug/Html.php b/library/think/debug/Html.php index f8651aa9..b6be7adb 100644 --- a/library/think/debug/Html.php +++ b/library/think/debug/Html.php @@ -53,7 +53,7 @@ class Html return false; } // 获取基本信息 - $runtime = number_format(microtime(true) - THINK_START_TIME, 10); + $runtime = number_format(microtime(true) - THINK_START_TIME, 10, '.', ''); $reqs = $runtime > 0 ? number_format(1 / $runtime, 2) : '∞'; $mem = number_format((memory_get_usage() - THINK_START_MEM) / 1024, 2);