xref: /PHP-7.0/ext/com_dotnet/tests/bug45280.phpt (revision 485f28aa)
1--TEST--
2Bug #45280 (Reflection of instantiated COM classes causes PHP to crash)
3--SKIPIF--
4<?php
5if (!extension_loaded("reflection")){ echo "skip, no reflection support present"; }
6if (!extension_loaded("com_dotnet")){ echo "skip COM/.Net support not present"; }
7?>
8--FILE--
9<?php
10$dict = new COM("Scripting.Dictionary");
11
12ob_start();
13ReflectionObject::export($dict);
14ob_get_clean();
15
16echo 'done';
17?>
18--EXPECT--
19done
20