SplDoublyLinkedList::offsetGet

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

SplDoublyLinkedList::offsetGetRetorna o valor no $index especificado

Descrição

public SplDoublyLinkedList::offsetGet(int $index): mixed

Parâmetros

index

O índice com o valor.

Valor Retornado

O valor no index especificado.

Erros/Exceções

Lança OutOfRangeException quando o index está fora dos limites ou quando o index não pode ser interpretado como um número inteiro.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top