array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'splfixedarray.offsetunset.php', 1 => 'SplFixedArray::offsetUnset', 2 => 'Unsets the value at the specified $index', ), 'up' => array ( 0 => 'class.splfixedarray.php', 1 => 'SplFixedArray', ), 'prev' => array ( 0 => 'splfixedarray.offsetset.php', 1 => 'SplFixedArray::offsetSet', ), 'next' => array ( 0 => 'splfixedarray.rewind.php', 1 => 'SplFixedArray::rewind', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/splfixedarray/offsetunset.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
SplFixedArray::offsetUnset — Unsets the value at the specified $index
index
The index being unset.
没有返回值。
Throws RuntimeException when index
is outside
the defined size of the array or when index
cannot be parsed as an integer.