ArrayIterator::offsetSet

(PHP 5, PHP 7)

ArrayIterator::offsetSetSet value for an offset

说锟斤拷

public ArrayIterator::offsetSet ( mixed $index , mixed $newval ) : void

Sets a value for a given offset.

Warning

锟斤拷锟斤拷锟斤拷锟斤拷未锟斤拷写锟侥碉拷锟斤拷锟斤拷锟叫诧拷锟斤拷锟叫憋拷

锟斤拷锟斤拷

index

The index to set for.

newval

The new value to store at the index.

锟斤拷锟斤拷值

没锟叫凤拷锟斤拷值锟斤拷

锟轿硷拷