xref: /PHP-8.2/ext/com_dotnet/tests/bug45280.phpt (revision 56f90492)
1--TEST--
2Bug #45280 (Reflection of instantiated COM classes causes PHP to crash)
3--EXTENSIONS--
4com_dotnet
5--FILE--
6<?php
7$dict = new COM("Scripting.Dictionary");
8
9$reflection = new ReflectionObject($dict);
10ob_start();
11echo $reflection;
12ob_get_clean();
13
14echo 'done';
15?>
16--EXPECT--
17done
18