serialize

 string serialize ( mixed $value ) 

説明

Generates a storable representation of a value This is useful for storing or passing PHP values around without losing their type and structure. To make the serialized string into a PHP value again, use unserialize().

戻り値

Returns a string containing a byte-stream representation of value that can be stored anywhere.