array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'arrayiterator.offsetget.php', 1 => 'ArrayIterator::offsetGet', ), 'up' => array ( 0 => 'class.arrayiterator.php', 1 => 'ArrayIterator', ), 'prev' => array ( 0 => 'arrayiterator.offsetexists.php', 1 => 'ArrayIterator::offsetExists', ), 'next' => array ( 0 => 'arrayiterator.offsetset.php', 1 => 'ArrayIterator::offsetSet', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/arrayiterator/offsetget.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
ArrayIterator::offsetGet — Get value for an offset
Gets the value from the provided offset.
本函数还未编写文档,仅有参数列表。
key
The offset to get the value from.
The value at offset key
.