This commit is contained in:
2021-03-24 19:32:29 +08:00
parent 5c3551a54d
commit e286605dcf
+1
View File
@@ -672,6 +672,7 @@ if (!function_exists('swoole_serialize')) {
function swoole_serialize($data): string
{
if (class_exists('swoole_serialize')) {
var_dump(\swoole_serialize::pack($data));
return \swoole_serialize::pack($data);
} else {
return serialize($data);