xref: /PHP-8.1/ext/com_dotnet/tests/bug49192.phpt (revision 56f90492)
1--TEST--
2Bug #49192 (PHP crashes when GC invoked on COM object)
3--EXTENSIONS--
4com_dotnet
5--FILE--
6<?php
7
8$dbConnection = new Com('ADODB.Connection');
9var_dump(gc_collect_cycles());
10?>
11--EXPECT--
12int(0)
13