xref: /PHP-8.0/ext/gmp/tests/bug659967.phpt (revision 4218e89f)
1--TEST--
2Bug #65997: Leak when using gc_collect_cycles with new GMP implementation
3--SKIPIF--
4<?php if (!extension_loaded("gmp")) print "skip"; ?>
5--FILE--
6<?php
7
8gc_enable();
9$gmp = gmp_init('10');
10gc_collect_cycles();
11
12?>
13===DONE===
14--EXPECT--
15===DONE===
16