/hphp/test/zend/good/ext/reflection/tests/bug31651.php
PHP | 11 lines | 9 code | 2 blank | 0 comment | 0 complexity | c17f8ac05db23edace031eed13d2a2c6 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?hh
- class Test
- {
- public $a = darray['a' => 1];
- }
- <<__EntryPoint>> function main(): void {
- $ref = new ReflectionClass('Test');
- print_r($ref->getDefaultProperties());
- }