--TEST-- Bug #49649 (unserialize() doesn't handle changes in property visibility) - to private --FILE-- --EXPECT-- object(Foo)#1 (4) { ["public":"Foo":private]=> int(3) ["protected":"Foo":private]=> int(2) ["private":"Foo":private]=> int(1) ["notThere"]=> string(3) "old" }