blob: 23d50b17a7e9148a35c2a4863cf831e5377c6547 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--TEST--
Reflection Bug #30856 (ReflectionClass::getStaticProperties segfaults)
--FILE--
<?php
class bogus {
const C = 'test';
static $a = bogus::C;
}
$class = new ReflectionClass('bogus');
var_dump($class->getStaticProperties());
?>
--EXPECT--
array(1) {
["a"]=>
string(4) "test"
}
|