xref: /PHP-7.4/ext/spl/tests/spl_pqueue_gc.phpt (revision 9173c21a)
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