xref: /PHP-8.2/ext/reflection/tests/012.phpt (revision f8d79582)
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