bson_encode

(PECL mongo >=1.0.1)
Serializes a PHP variable into a BSON string
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.

Returns:

Returns the serialized string.

doc_php
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.