Please wait while we load your page...

PasswordSentry

Latest Version [8.00202205221] Last Updated [May-22-2022]

Tools

PHP Manual [bson_encode]

Protect Your Website Today


PHP Manual || Mongo Functions

(PECL mongo >=1.0.1)

bson_encodeSerializes a PHP variable into a BSON string

Description

bson_encode ( mixed $anything ) : string

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.



PHP Manual || Mongo Functions