phpday 2027 - Call for Papers

SplFixedArray::offsetGet

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

SplFixedArray::offsetGet — Devuelve el valor en el índice específicado

Descripción

public function SplFixedArray::offsetGet(int $index): mixed

Devuelve el valor en el índice index específicado.

Parámetros

index

El índice con el valor.

Valores devueltos

El valor específicado en index.

Errores/Excepciones

Lanza una excepción de tipo RuntimeException cuando index está fuera del tamaño definido del array o cuando index no se puede procesar como un entero.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top