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