1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 09:28:21 +02:00

- Add new test

This commit is contained in:
Marcus Boerger
2004-11-24 19:56:25 +00:00
parent 98f9906c59
commit 4ab537fc61
+20
View File
@@ -0,0 +1,20 @@
--TEST--
Bug #30856 (ReflectionClass::getStaticProperties segfaults)
--FILE--
<?
class bogus {
const C = 'test';
static $a = bogus::C;
}
$class = new ReflectionClass('bogus');
var_dump($class->getStaticProperties());
?>
===DONE===
--EXPECT--
array(1) {
["a"]=>
string(4) "test"
}
===DONE===