mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
a555cc0b3d
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
19 lines
305 B
PHP
19 lines
305 B
PHP
--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"
|
|
}
|