<?php $q = new SplPriorityQueue(); $q->insert('a', 1); $q->insert('b', 2); $q->insert('c', 2); foreach ($q as $e) { var_dump($e); } var_dump(count($q));
You have javascript disabled. You will not be able to edit any code.