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