xref: /PHP-5.6/ext/reflection/tests/012.phpt (revision 610c7fbe)
1--TEST--
2ReflectionClass::getDefaultProperties()
3--SKIPIF--
4<?php extension_loaded('reflection') or die('skip'); ?>
5--FILE--
6<?php
7class Foo {
8	public $test = "ok";
9}
10$class = new ReflectionClass("Foo");
11$props = $class->getDefaultProperties();
12echo $props["test"];
13?>
14--EXPECT--
15ok
16
17