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.

����ֵ

û�з���ֵ��

�μ�