SplHeap::insert
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
Inserts an element in the heap by sifting it up
Description
SplHeap::insert(mixed $value): true
Insert value in the heap.
Parameters
valueThe value to insert.
Return Values
Always
Changelog
| Version | Description |
|---|---|
| 8.4.0 | SplHeap::insert now has a tentative return of true. |