?php $serialized_object=' O:1 :"a":1 :{s:5 :"value";s:3 :"100" ;}'; / / unserialize_callback_func directive available as of PHP 4.2.0 ini_set('unserialize_callback_func' ,'mycallback'); / / set your callback_function function mycallback($classname) {/ / just include a file containing your classdefinition / / you get $classname to figure out which classdefinition is required}?
Exemple 1.