how to serialize data in php code example
Example 1: php serialize array
$array["a"] = "Foo";
$array["b"] = "Bar";
$array["c"] = "Baz";
$array["d"] = "Wom";
$str = serialize($array);
Example 2: serializer in php
serializer in php
PHP: serialize()