初始化代码

This commit is contained in:
2025-12-22 14:34:25 +08:00
parent c2c5ae2fdd
commit a77dbc743f
1510 changed files with 213008 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
<?php
class_alias(Swoole\Serialize::class, swoole_serialize::class);

View File

@@ -0,0 +1,5 @@
<?php
define('SWOOLE_FAST_PACK', 1);
define('UNSERIALIZE_OBJECT_TO_ARRAY', 1);
define('UNSERIALIZE_OBJECT_TO_STDCLASS', 2);

View File

@@ -0,0 +1,23 @@
<?php
namespace Swoole;
class Serialize
{
/**
* @return mixed
*/
public static function pack($data, $flag = null)
{
}
/**
* @return mixed
*/
public static function unpack($string, $flag = null)
{
}
}