1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 02:02:32 +01:00

- Update after fixing it

This commit is contained in:
Marcus Boerger
2005-01-22 12:22:01 +00:00
parent a01e3435de
commit bad986232b

View File

@@ -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
)
)