From 51719203eda31becdda18f2720029423b60258f5 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Thu, 23 Sep 2021 00:56:59 +0800 Subject: [PATCH] 111 --- http-server/Service/Http.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-server/Service/Http.php b/http-server/Service/Http.php index d330160a..860d7ace 100644 --- a/http-server/Service/Http.php +++ b/http-server/Service/Http.php @@ -48,7 +48,7 @@ class Http extends \Server\Abstracts\Http implements OnClose, OnConnect public function onRequest(Request $request, Response $response): void { try { - xhprof_enable(XHPROF_FLAGS_NO_BUILTINS | XHPROF_FLAGS_CPU | XHPROF_FLAGS_MEMORY); + \xhprof_enable(XHPROF_FLAGS_NO_BUILTINS | XHPROF_FLAGS_CPU | XHPROF_FLAGS_MEMORY); [$PsrRequest, $PsrResponse] = $this->initRequestResponse($request); /** @var Handler $handler */