cvs: php-src(PHP_5_0) /tests/reflection bug31651.phpt

From: Date: Sat, 22 Jan 2005 12:27:00 +0000
Subject: cvs: php-src(PHP_5_0) /tests/reflection bug31651.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-30078@lists.php.net to get a copy of this message
helly Sat Jan 22 07:27:00 2005 EDT Added files: (Branch: PHP_5_0) /php-src/tests/reflection bug31651.phpt Log: - MFH http://cvs.php.net/co.php/php-src/tests/reflection/bug31651.phpt?r=1.1&p=1 Index: php-src/tests/reflection/bug31651.phpt +++ php-src/tests/reflection/bug31651.phpt --TEST-- Bug #31651 (ReflectionClass::getDefaultProperties segfaults with arrays.) --FILE-- <?php class Test { var $a = array('a' => 1); } //$obj = new Test; //$ref = new ReflectionClass($obj); $ref = new ReflectionClass('Test'); print_r($ref->getdefaultProperties()); ?> --EXPECT-- Array ( [a] => Array ( [a] => 1 ) )

« previous php.cvs (#30078) next »