From becda718bd11f97aa007d03aab20347166819aa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 24 Mar 2021 19:33:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- function.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function.php b/function.php index 28561c7c..0f70e6f3 100644 --- a/function.php +++ b/function.php @@ -671,8 +671,8 @@ if (!function_exists('swoole_serialize')) { */ function swoole_serialize($data): string { + var_dump(class_exists('swoole_serialize'), \swoole_serialize::pack($data)); if (class_exists('swoole_serialize')) { - var_dump(\swoole_serialize::pack($data)); return \swoole_serialize::pack($data); } else { return serialize($data);