Serialization and deserialization of PHP variables into MongoDB

- « Connections

- Serialization to BSON »

- PHP Manual
- Driver Architecture and Internals
- Serialization and deserialization of PHP variables into MongoDB

# Serialization and deserialization of PHP variables into MongoDB

## Table of Contents

- Serialization to BSON
- Deserialization from BSON

This document discusses the methods how compound structures (documents, arrays, objects) are persisted through the drivers. And how they are brought back into PHP land.