array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'splfixedarray.offsetset.php', 1 => 'SplFixedArray::offsetSet', ), 'up' => array ( 0 => 'class.splfixedarray.php', 1 => 'SplFixedArray', ), 'prev' => array ( 0 => 'splfixedarray.offsetget.php', 1 => 'SplFixedArray::offsetGet', ), 'next' => array ( 0 => 'splfixedarray.offsetunset.php', 1 => 'SplFixedArray::offsetUnset', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/splfixedarray/offsetset.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::offsetSet — Sets a new value at a specified index
Sets the value at the specified index
to value
.
index
The index being set.
value
The new value for the index
.
Hiçbir değer dönmez.
Throws RuntimeException when index
is outside
the defined size of the array or when index
cannot be parsed as an integer.