array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'spldoublylinkedlist.pop.php', 1 => 'SplDoublyLinkedList::pop', 2 => 'Pops a node from the end of the doubly linked list', ), 'up' => array ( 0 => 'class.spldoublylinkedlist.php', 1 => 'SplDoublyLinkedList', ), 'prev' => array ( 0 => 'spldoublylinkedlist.offsetunset.php', 1 => 'SplDoublyLinkedList::offsetUnset', ), 'next' => array ( 0 => 'spldoublylinkedlist.prev.php', 1 => 'SplDoublyLinkedList::prev', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/spldoublylinkedlist/pop.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SplDoublyLinkedList::pop

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

SplDoublyLinkedList::popPops a node from the end of the doubly linked list

说明

public SplDoublyLinkedList::pop(): mixed

参数

此函数没有参数。

返回值

The value of the popped node.

错误/异常

Throws RuntimeException when the data-structure is empty.