SplPriorityQueue::insert
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplPriorityQueue::insert — キューに要素を挿入する
説明
value
を優先順位 priority
でキューに挿入します。
パラメータ
value
-
挿入する値。
priority
-
関連づける優先順位。
戻り値
常に true
を返します。
+add a note
User Contributed Notes
There are no user contributed notes for this page.