PHP - Manual: SplHeap::insert
2025-02-27
(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.
总是返回 true。
true
官方地址:https://www.php.net/manual/en/splheap.insert.php