array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'arrayiterator.offsetunset.php', 1 => 'ArrayIterator::offsetUnset', ), 'up' => array ( 0 => 'class.arrayiterator.php', 1 => 'ArrayIterator', ), 'prev' => array ( 0 => 'arrayiterator.offsetset.php', 1 => 'ArrayIterator::offsetSet', ), 'next' => array ( 0 => 'arrayiterator.rewind.php', 1 => 'ArrayIterator::rewind', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/arrayiterator/offsetunset.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
ArrayIterator::offsetUnset — Unset value for an offset
Unsets a value for an offset.
If iteration is in progress, and ArrayIterator::offsetUnset() is used to
unset the current index of iteration, the iteration position will be advanced to the next index.
Since the iteration position is also advanced at the end of a
foreach loop body, use of
ArrayIterator::offsetUnset() inside a
foreach
loop may result in
indices being skipped.
key
The offset to unset.
Hiçbir değer dönmez.