« SplDoublyLinkedList::count
SplDoublyLinkedList::getIteratorMode »

SplDoublyLinkedList::current

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

SplDoublyLinkedList::current — 現在の配列の要素を返す

説明

public function SplDoublyLinkedList::current(): mixed

双方向リンクリストの現在のノードを取得します。

パラメータ

この関数にはパラメータはありません。

戻り値

現在のノードの値を返します。

関連キーワード:
SplDoublyLinkedList   current   ノード   count   getIteratorMode   mixed   双方向
関連する関数・ページ:
spldoublylinkedlist.count   spldoublylinkedlist.next   spldoublylinkedlist.top   spldoublylinkedlist.shift   spldoublylinkedlist.pop   spldoublylinkedlist.isempty