Parameters

statement

field

Can be either use the column number (1-based) or the column name.
The case of the column name must be the case that Oracle meta data
describes the column as, which is uppercase for columns created
case insensitively.

Notes

Note:

In PHP versions before 5.0.0 you must use ociresult() instead.
This name still can be used, it was left as alias of
oci_result() for downwards compatability.
This, however, is deprecated and not recommended.

See Also

oci_fetch_array() - Returns the next row from a query as an associative or numeric array

As this function gets a 'mixed' variable type for the column index, you may use an integer to represent the column number. In this case, the count is starting from 1 and not from zero.
I am not sure, but I think this method is a bit faster than using the column name.
For an example, see the OCINumCols first example.