ArrayObject
PHP 手册

ArrayObject::offsetSet

(PHP 5 >= 5.1.0)

ArrayObject::offsetSetSets the value at the specified $index to $newval

说明

void ArrayObject::offsetSet ( mixed $index , mixed $newval )
Warning

本函数暂无文档,仅有参数列表。

Sets the value at the specified index to newval.

参数

index

The index being set.

newval

The new value for the index .

返回值

无返回值。


ArrayObject
PHP 手册