I disagree, the first element is 0 ie ..->getElem(0)
OCI-Collection->getElem
(PHP 5, PECL oci8 >= 1.1.0)
OCI-Collection->getElem — Returns value of the element
Opis
OCI-Collection
mixed getElem
( int $index
)
Returns element's value with the index index (1-based).
Parametry
- index
-
The element index. First index is 1.
Zwracane wartości
Returns FALSE if such element doesn't exist; NULL if element is NULL; string if element is column of a string datatype or number if element is numeric field.
OCI-Collection->getElem
