Mongo 関数
bson_encode
Mongo 関数
PHP Manual

# bson_decode

(PECL mongo >=1.0.1)

bson_decode — Deserializes 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 関数
bson_encode
Mongo 関数
PHP Manual