ArrayIterator::offsetSet
(PHP 5, PHP 7, PHP 8)
ArrayIterator::offsetSet — Set value for an offset
說明
Sets a value for a given offset.
警告
本函式還未編寫文件,僅有參數列表。
參數
-
key
-
The index to set for.
-
value
-
The new value to store at the index.
返回值
沒有返回值。
參見
- ArrayIterator::offsetGet() - Get value for an offset
- ArrayIterator::offsetUnset() - Unset value for an offset