Serialization : serialize « Utility Function « PHP






Serialization

 
<?php
     $a= array("foo" => "testing", 0 => 10, 1 => "mystring");
     echo serialize($a);
?>
  
  








Related examples in the same category

1.Saving Arrays
2.Saving Objects
3.Storing and Retrieving Objects