SplPriorityQueue::key
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
Return current node index
Description
SplPriorityQueue::key(): int
This function returns the current node index
Parameters Parameters
Return Values
The current node index.