Stats

90 Contributors: 3 Saturday, July 23, 2016
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

Object Serialization

Syntax

  • serialize($object)
  • unserialize($object)

Remarks

All PHP types except for resources are serializable. Resources are a unique variable type that reference "external" sources, such as database connections.

Related Examples