xref: /PHP-8.2/ext/reflection/tests/gh16187.phpt (revision 331da7e8)
1--TEST--
2GH-16187 (ReflectionClass::__toString() with unpacked properties)
3--EXTENSIONS--
4simplexml
5--FILE--
6<?php
7$xml = '<form name="test"></form>';
8$simplexml = simplexml_load_string($xml);
9$reflector = new ReflectionObject($simplexml['name']);
10$reflector->__toString();
11?>
12DONE
13--EXPECT--
14DONE
15