xref: /PHP-8.0/ext/com_dotnet/tests/bug49192.phpt (revision af630500)
1--TEST--
2Bug #49192 (PHP crashes when GC invoked on COM object)
3--SKIPIF--
4<?php
5if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present"; ?>
6--FILE--
7<?php
8
9$dbConnection = new Com('ADODB.Connection');
10var_dump(gc_collect_cycles());
11?>
12--EXPECT--
13int(0)
14