array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'spldoublylinkedlist.offsetexists.php', 1 => 'SplDoublyLinkedList::offsetExists', 2 => 'Returns whether the requested $index exists', ), 'up' => array ( 0 => 'class.spldoublylinkedlist.php', 1 => 'SplDoublyLinkedList', ), 'prev' => array ( 0 => 'spldoublylinkedlist.next.php', 1 => 'SplDoublyLinkedList::next', ), 'next' => array ( 0 => 'spldoublylinkedlist.offsetget.php', 1 => 'SplDoublyLinkedList::offsetGet', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/spldoublylinkedlist/offsetexists.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SplDoublyLinkedList::offsetExists

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

SplDoublyLinkedList::offsetExistsReturns whether the requested $index exists

Descrizione

public SplDoublyLinkedList::offsetExists(int $index): bool

Elenco dei parametri

index

The index being checked.

Valori restituiti

true if the requested index exists, otherwise false