SplPriorityQueue::valid
  • References/PHP/Function/SPL/SPL/SplPriorityQueue

(PHP 5 >= 5.3.0, PHP 7) Check whether the queue contains more nodes

2025-01-10 15:47:30
SplPriorityQueue::top
  • References/PHP/Function/SPL/SPL/SplPriorityQueue

(PHP 5 >= 5.3.0, PHP 7) Peeks at the node from the top of the queue

2025-01-10 15:47:30
SplPriorityQueue::__construct
  • References/PHP/Function/SPL/SPL/SplPriorityQueue

(PHP 5 >= 5.3.0, PHP 7) Constructs a new empty queue

2025-01-10 15:47:30
SplPriorityQueue::extract
  • References/PHP/Function/SPL/SPL/SplPriorityQueue

(PHP 5 >= 5.3.0, PHP 7) Extracts a node from top of the heap and sift up.

2025-01-10 15:47:30
SplPriorityQueue::compare
  • References/PHP/Function/SPL/SPL/SplPriorityQueue

(PHP 5 >= 5.3.0, PHP 7) Compare priorities in order to place elements correctly in the heap while sifting

2025-01-10 15:47:30
SplPriorityQueue::key
  • References/PHP/Function/SPL/SPL/SplPriorityQueue

(PHP 5 >= 5.3.0, PHP 7) Return current node index

2025-01-10 15:47:30
SplPriorityQueue::setExtractFlags
  • References/PHP/Function/SPL/SPL/SplPriorityQueue

(PHP 5 >= 5.3.0, PHP 7) Sets the mode of extraction

2025-01-10 15:47:30
SplPriorityQueue::recoverFromCorruption
  • References/PHP/Function/SPL/SPL/SplPriorityQueue

(PHP 5 >= 5.3.0, PHP 7) Recover from the corrupted state and allow further actions on the queue.

2025-01-10 15:47:30
SplPriorityQueue::rewind
  • References/PHP/Function/SPL/SPL/SplPriorityQueue

(PHP 5 >= 5.3.0, PHP 7) Rewind iterator back to the start (no-op)

2025-01-10 15:47:30
SplPriorityQueue::insert
  • References/PHP/Function/SPL/SPL/SplPriorityQueue

(PHP 5 >= 5.3.0, PHP 7) Inserts an element in the queue by sifting it up.

2025-01-10 15:47:30