PageRenderTime 44ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/hphp/test/zend/good/ext/reflection/tests/bug31651.php

http://github.com/facebook/hiphop-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
  1. <?hh
  2. class Test
  3. {
  4. public $a = darray['a' => 1];
  5. }
  6. <<__EntryPoint>> function main(): void {
  7. $ref = new ReflectionClass('Test');
  8. print_r($ref->getDefaultProperties());
  9. }