xref: /PHP-8.1/Zend/tests/gc_027.phpt (revision 7aacc705)
1--TEST--
2GC 027: GC and properties of internal classes
3--INI--
4zend.enable_gc=1
5--FILE--
6<?php
7try {
8    throw new Exception();
9} catch (Exception $e) {
10    gc_collect_cycles();
11}
12echo "ok\n";
13?>
14--EXPECT--
15ok
16