bson_decode

(PECL mongo >=1.0.1)
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.

Parameters:
bson

The BSON to be deserialized.

Returns:

Returns the deserialized BSON object.

doc_php
2016-02-24 16:17:29
Comments
Leave a Comment

Please login to continue.