SplPriorityQueue::current

(PHP 5 >= 5.3.0, PHP 7)

SplPriorityQueue::currentReturn current node pointed by the iterator

说锟斤拷

public SplPriorityQueue::current ( void ) : mixed

Get the current datastructure node.

锟斤拷锟斤拷

锟剿猴拷锟斤拷没锟叫诧拷锟斤拷锟斤拷

锟斤拷锟斤拷值

The value or priority (or both) of the current node, depending on the extract flag.