改名
This commit is contained in:
@@ -672,6 +672,7 @@ if (!function_exists('swoole_serialize')) {
|
|||||||
function swoole_serialize($data): string
|
function swoole_serialize($data): string
|
||||||
{
|
{
|
||||||
if (class_exists('swoole_serialize')) {
|
if (class_exists('swoole_serialize')) {
|
||||||
|
var_dump(\swoole_serialize::pack($data));
|
||||||
return \swoole_serialize::pack($data);
|
return \swoole_serialize::pack($data);
|
||||||
} else {
|
} else {
|
||||||
return serialize($data);
|
return serialize($data);
|
||||||
|
|||||||
Reference in New Issue
Block a user