class apple { var $flavor="sweet";}$app = new apple();$stored = serialize( $app );print $stored;$new_app = unserialize( $stored );print $new_app->flavor;?>