PHP - Manual: SplDoublyLinkedList::offsetExists (官方文档)
2021-02-28
(PHP 5 >= 5.3.0, PHP 7)
SplDoublyLinkedList::offsetExists — Returns whether the requested $index exists
index
The index being checked.
TRUE
if the requested index
exists, otherwise FALSE
官方地址:https://www.php.net/manual/en/spldoublylinkedlist.offsetexists.php