PHP - Manual: SplHeap::insert
2024-11-21
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplHeap::insert — Inserts an element in the heap by sifting it up
$value
Insert value in the heap.
value
The value to insert.
Always returns true.
true
官方地址:https://www.php.net/manual/en/splheap.insert.php