cvs: php-src /tests/reflection bug31651.phpt

From: Date: Sat, 22 Jan 2005 12:22:03 +0000
Subject: cvs: php-src /tests/reflection bug31651.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-30077@lists.php.net to get a copy of this message
helly Sat Jan 22 07:22:03 2005 EDT Modified files: /php-src/tests/reflection bug31651.phpt Log: - Update after fixing it http://cvs.php.net/diff.php/php-src/tests/reflection/bug31651.phpt?r1=1.1&r2=1.2&ty=u Index: php-src/tests/reflection/bug31651.phpt diff -u php-src/tests/reflection/bug31651.phpt:1.1 php-src/tests/reflection/bug31651.phpt:1.2 --- php-src/tests/reflection/bug31651.phpt:1.1 Sat Jan 22 06:46:56 2005 +++ php-src/tests/reflection/bug31651.phpt Sat Jan 22 07:22:01 2005 @@ -5,21 +5,20 @@ 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 + ) + )

« previous php.cvs (#30077) next »