xref: /PHP-8.3/ext/spl/tests/spl_pqueue_gc.phpt (revision f8d79582)
1--TEST--
2Bug #78436: Broken GC for SplPriorityQueue
3--FILE--
4<?php
5
6$pqueue = new SplPriorityQueue();
7$pqueue->insert($pqueue, 1);
8
9$pqueue2 = new SplPriorityQueue();
10$pqueue2->insert(1, $pqueue);
11
12?>
13===DONE===
14--EXPECT--
15===DONE===
16