xref: /PHP-7.3/ext/reflection/tests/012.phpt (revision f1d7e3ca)
1--TEST--
2ReflectionClass::getDefaultProperties()
3--FILE--
4<?php
5class Foo {
6	public $test = "ok";
7}
8$class = new ReflectionClass("Foo");
9$props = $class->getDefaultProperties();
10echo $props["test"];
11?>
12--EXPECT--
13ok
14