summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/tests/bug45280.phpt
blob: 393799e37469f31b188445a4f3b23e9836d01811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Bug #45280 (Reflection of instantiated COM classes causes PHP to crash)
--SKIPIF--
<?php
if (!extension_loaded("com_dotnet")){ echo "skip COM/.Net support not present"; }
?>
--FILE--
<?php
$dict = new COM("Scripting.Dictionary");

$reflection = new ReflectionObject($dict);
ob_start();
echo $reflection;
ob_get_clean();

echo 'done';
?>
--EXPECT--
done