/hphp/test/zend/bad/ext/reflection/tests/bug61388.php
http://github.com/facebook/hiphop-php · PHP · 10 lines · 9 code · 1 blank · 0 comment · 0 complexity · f41044ffa3779fb71aa321a1c68a6525 MD5 · raw file
- <?php
- $x = new ArrayObject();
- $x[0] = 'test string 2';
- $x['test'] = 'test string 3';
- $reflObj = new ReflectionObject($x);
- print_r($reflObj->getProperties(ReflectionProperty::IS_PUBLIC));
- $x = (object)array("a", "oo" => "b");
- $reflObj = new ReflectionObject($x);
- print_r($reflObj->getProperties(ReflectionProperty::IS_PUBLIC));