跳到主要内容

bson_dumps

将数据转换为bson格式

声明

int bson_dumps(mixed data)

参数

参数名描述
data数据

返回值

bson数据

使用方式

返回文档