SplPriorityQueue::top キューの先頭のノードを取り出す &reftitle.description; public mixedSplPriorityQueue::top &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; 先頭のノードの値あるいは優先順位 (あるいはその両方) を、抽出フラグの設定に応じて返します。