1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 01:02:25 +01:00
Files
archived-php-src/ext/com_dotnet/tests/bug79247.phpt
2020-04-16 11:56:21 +02:00

14 lines
266 B
PHP

--TEST--
Bug #79247 (Garbage collecting variant objects segfaults)
--SKIPIF--
<?php
if (!extension_loaded('com_dotnet')) die('skip com_dotnet extension not available');
?>
--FILE--
<?php
$keep = new variant(null);
var_dump(gc_collect_cycles());
?>
--EXPECT--
int(0)