serialize

serialize -- Generates a storable representation of a value

Description

string serialize ( mixed value)

To make the serialized string into a PHP value again , use unserialize( ) . serialize( ) To make the serialized string into a PHP value again , use unserialize( ) . serialize( ) handles all types , except the resource-type .

Nota :

Ejemplo 1 . serialize( ) example