您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

OCI-Collection->assignElem

(No version information available, might be only in CVS)

OCI-Collection->assignElem — Assigns a value to the element of the collection

说明

OCI-Collection
bool assignElem ( int $index , mixed $value )

Assigns a value to the element with index index .

参数

index

The element index. First index is 1.

value

Can be a string or a number.

返回值

如果成功则返回 TRUE,失败则返回 FALSE