改名
This commit is contained in:
+1
-1
@@ -671,8 +671,8 @@ if (!function_exists('swoole_serialize')) {
|
|||||||
*/
|
*/
|
||||||
function swoole_serialize($data): string
|
function swoole_serialize($data): string
|
||||||
{
|
{
|
||||||
|
var_dump(class_exists('swoole_serialize'), \swoole_serialize::pack($data));
|
||||||
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