SplDoublyLinkedList::bottom

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

SplDoublyLinkedList::bottomPeeks at the node from the beginning of the doubly linked list

說明

public SplDoublyLinkedList::bottom(): mixed

參數

此函數沒有參數。

返回值

The value of the first node.

錯誤/異常

Throws RuntimeException when the data-structure is empty.