PHP Manual
Function Reference
Database Extensions
Vendor Specific Database Extensions
Mongo
Installing/Configuring
Predefined Constants
Manual
Core Classes
Types
GridFS Classes
Batch Classes
Miscellaneous
Mongo Functions
Exceptions
Changelog
Mongo::switchSlave
bson_decode
Mongo
PHP Manual
Mongo Functions
Table of Contents
bson_decode
— Deserializes a BSON object into a PHP array
bson_encode
— Serializes a PHP variable into a BSON string