1--TEST--
2SplHeap using a compare function returning by-reference
3--FILE--
4<?php
5class Heap extends SplMinHeap {
6 public function &compare($a, $b): int {
7 return $a;
8 }
9}
10$h = new Heap;
11$h->insert(0);
12$h->insert(0);
13?>
14===DONE===
15--EXPECT--
16===DONE===
17