From bad986232bd56d920ef9edf10314ff3c02eee2ee Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sat, 22 Jan 2005 12:22:01 +0000 Subject: [PATCH] - Update after fixing it --- ext/reflection/tests/bug31651.phpt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/ext/reflection/tests/bug31651.phpt b/ext/reflection/tests/bug31651.phpt index 6e569add214..60bee14e9f6 100755 --- a/ext/reflection/tests/bug31651.phpt +++ b/ext/reflection/tests/bug31651.phpt @@ -5,21 +5,20 @@ Bug #31651 (ReflectionClass::getDefaultProperties segfaults with arrays.) class Test { - var $a = array('a' => 1); + public $a = array('a' => 1); } -//$obj = new Test; -//$ref = new ReflectionClass($obj); $ref = new ReflectionClass('Test'); -print_r($ref->getdefaultProperties()); +print_r($ref->getDefaultProperties()); ?> --EXPECT-- Array ( [a] => Array - ( - [a] => 1 - ) + ( + [a] => 1 + ) + )