Mongo 函数
在线手册:中文 英文
PHP手册

bson_decode

(PECL mongo >=1.0.1)

bson_decodeDeserializes a BSON object into a PHP array

说明

array bson_decode ( string $bson )

This function is very beta and entirely useless for 99% of users. It is only useful if you're doing something weird, such as writing your own driver on top of the PHP driver.

参数

bson

The BSON to be deserialized.

返回值

Returns the deserialized BSON object.


Mongo 函数
在线手册:中文 英文
PHP手册