ArrayIterator::offsetSet

(PHP 5, PHP 7, PHP 8)

ArrayIterator::offsetSetSet value for an offset

說明

public ArrayIterator::offsetSet(mixed $key, mixed $value): void

Sets a value for a given offset.

警告

本函數(shù)還未編寫文檔,僅有參數(shù)列表。

參數(shù)

key

The index to set for.

value

The new value to store at the index.

返回值

沒有返回值。

參見