Lines Matching refs:h
5 $h = new SplPriorityQueue();
7 $h->insert(1, 1);
8 $h->insert(5, 5);
9 $h->insert(0, 0);
10 $h->insert(4, 4);
12 $h->rewind();
13 echo "count(\$h) = ".count($h)."\n";
14 echo "\$h->count() = ".$h->count()."\n";
15 while ($h->valid()) {
16 $k = $h->key();
17 $v = $h->current();
19 $h->next();
23 count($h) = 4
24 $h->count() = 4