xref: /PHP-8.0/ext/com_dotnet/tests/bug79247.phpt (revision e88e9afe)
1--TEST--
2Bug #79247 (Garbage collecting variant objects segfaults)
3--SKIPIF--
4<?php
5if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available');
6?>
7--FILE--
8<?php
9$keep = new variant(null);
10var_dump(gc_collect_cycles());
11?>
12--EXPECT--
13int(0)
14