--TEST-- Issue #80 (Serialized failed on unseted value) --SKIPIF-- field); } } $t = new MyClass(); $t->preSerialize(); var_dump(msgpack_unserialize(msgpack_serialize($t))); ?> --EXPECTF-- object(MyClass)#%d (1) { ["field":protected]=> NULL }