From c2e2a30169b31394d1ffa7c67707dd170e1830bc Mon Sep 17 00:00:00 2001 From: SVN Migration Date: Mon, 4 Oct 2004 08:58:48 +0000 Subject: [PATCH] This commit was manufactured by cvs2svn to create branch 'PHP_5_0'. --- Zend/tests/bug27798.phpt | 72 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100755 Zend/tests/bug27798.phpt diff --git a/Zend/tests/bug27798.phpt b/Zend/tests/bug27798.phpt new file mode 100755 index 0000000000..f0d1cd5e99 --- /dev/null +++ b/Zend/tests/bug27798.phpt @@ -0,0 +1,72 @@ +--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) { + ["Baz"]=> + int(4) + ["Foo"]=> + int(1) + ["Bar"]=> + int(2) +} +Child::__construct +array(3) { + ["Baz"]=> + int(4) + ["Foo"]=> + int(1) + ["Bar"]=> + int(2) +} +array(1) { + ["Foo"]=> + int(1) +} +===DONE=== -- 2.50.1