Please wait while we load your page...


PHP Manual :: bson_decode

Mongo Functions || bson_encode || PHP Manual

(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.



The BSON to be deserialized.

Return Values

Returns the deserialized BSON object.

Mongo Functions || bson_encode || PHP Manual
Live Chat Not Available