Nicholas Couloute wrote:
Are there any tutorials and uses for serialize() ? I went to php.net and it isn't well documented as I would hope!

<?php

$o = new StdObject;
$a = array();
$i = 1;
$b = false;

echo serialize($o),"\n",
     serialize($a),"\n",
     serialize($i),"\n",
     serialize($b),"\n",
     serialize(array("A"=>$o,"B"=>$a,"C"=>$i,"D"=>$b)),"\n",

?>

... and yes there are uses for it. what do you want to do?


~Nick Couloute
co-owner/Web Designer
Sidekick2Music.Com


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to