PHPObject Serialization

Download PHP for free

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

Serialize / Unserialize