PHP 7.4.0RC6 Released!

bson_encode

(PECL mongo >=1.0.1)

bson_encodeSerializes a PHP variable into a BSON string

Descrição

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.

Parâmetros

anything

The variable to be serialized.

Valor Retornado

Returns the serialized string.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top