xref: /PHP-8.1/ext/com_dotnet/tests/bug79247.phpt (revision 56f90492)
1--TEST--
2Bug #79247 (Garbage collecting variant objects segfaults)
3--EXTENSIONS--
4com_dotnet
5--FILE--
6<?php
7$keep = new variant(null);
8var_dump(gc_collect_cycles());
9?>
10--EXPECT--
11int(0)
12