array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'splfixedarray.offsetget.php', 1 => 'SplFixedArray::offsetGet', ), 'up' => array ( 0 => 'class.splfixedarray.php', 1 => 'SplFixedArray', ), 'prev' => array ( 0 => 'splfixedarray.offsetexists.php', 1 => 'SplFixedArray::offsetExists', ), 'next' => array ( 0 => 'splfixedarray.offsetset.php', 1 => 'SplFixedArray::offsetSet', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'es', 'path' => 'reference/spl/splfixedarray/offsetget.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplFixedArray::offsetGet — Devuelve el valor en el índice específicado
Devuelve el valor en el índice index
específicado.
index
El índice con el valor.
El valor específicado en index
.
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.