Hi. Thanks Drawmack.
So there is nothing like if you where unserialising and you didn't have the class defined:
function _autoload($className)
{
print("Loading class $className");
@include_once("class.$classname.php");
}
ini_set('unserialize_callback_func', '_autoload');
Your method makes a lot of sense though.