Mega Code Archive
Convert the string produced by serialize() back into an object with the unserialize() function
class apple {
var $flavor="sweet";
}
$app = new apple();
$stored = serialize( $app );
print $stored;
$new_app = unserialize( $stored );
print $new_app->flavor;
?>