Lines Matching refs:h
5 $h = new SplMaxHeap();
9 $h->extract();
15 $h->insert(1);
16 $h->insert(2);
17 $h->insert(3);
18 $h->insert(3);
19 $h->insert(3);
21 echo $h->count()."\n";
22 echo $h->extract()."\n";
23 echo $h->extract()."\n";
24 echo $h->extract()."\n";
25 echo $h->extract()."\n";
26 echo $h->extract()."\n";
27 echo $h->count()."\n";
32 $h->insert($b);
35 $h2 = clone $h;
36 echo $h->extract()."\n";