--TEST-- Bug #27798 (private / protected variables not exposed by get_object_vars() inside class) --FILE-- ===DONE=== --EXPECT-- Base::__construct array(3) { ["Foo"]=> int(1) ["Bar"]=> int(2) ["Baz"]=> int(3) } array(1) { ["Foo"]=> int(1) } Base::__construct array(3) { ["Foo"]=> int(1) ["Bar"]=> int(2) ["Baz"]=> int(3) } Child::__construct array(3) { ["Baz"]=> int(4) ["Foo"]=> int(1) ["Bar"]=> int(2) } array(1) { ["Foo"]=> int(1) } ===DONE===