SplHeap::extract

(PHP 5 >= 5.3.0, PHP 7)

SplHeap::extractExtracts a node from top of the heap and sift up

说锟斤拷

public SplHeap::extract ( void ) : mixed

锟斤拷锟斤拷

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

锟斤拷锟斤拷值

The value of the extracted node.

锟斤拷锟斤拷锟届常

Throws RuntimeException when the data-structure is empty.