PHP » GoLang |
login |
register |
about
|
GoLang SplHeap::compare
request it (331)
GoLang replacement for PHP's SplHeap::compare
[edit | history]
SplHeap::compare(PHP 5 >= 5.3.0, PHP 7) SplHeap::compare — Compare elements in order to place them correctly in the heap while sifting up Description
Compare Warning
Throwing exceptions in SplHeap::compare() can corrupt the Heap and place it in a blocked state. You can unblock it by calling SplHeap::recoverFromCorruption(). However, some elements might not be placed correctly and it may hence break the heap-property. Parameters
Return Values
Result of the comparison, positive integer if
|
more
Recently updated
more
Most requested
more
Last requests
|