多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# format 格式化命令响应数据。 ```php function swoole_redis_server::format(int $type, mixed $value = null); ``` * `format`为静态方法 * `$type`表示数据类型,`NIL`类型不需要传入`$value`,`ERROR`和`STATUS`类型`$value`可选,`INT`、`STRING`、`SET`、`MAP`必选