downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Exceptions> <bson_decode
Last updated: Fri, 24 Sep 2010

view this page in

bson_encode

(PECL mongo >=1.0.1)

bson_encodeSerializes a PHP variable into a BSON string

Description

string bson_encode ( mixed $anything )

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

anything

The variable to be serialized.

Return Values

Returns the serialized string.



add a note add a note User Contributed Notes
bson_encode
There are no user contributed notes for this page.

Exceptions> <bson_decode
Last updated: Fri, 24 Sep 2010
 
 
show source | credits | sitemap | contact | advertising | mirror sites