PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0
oci_field_name - Returns the name of a field from the statement
oci_field_name( resource$statement, string|int$column ): string|false
Returns the name of the column.
A valid OCI statement identifier.
Can be the field's index (1-based) or name.
Returns the name as a string, or false on failure
In PHP versions before 5.0.0 you must use ocicolumnname instead. This name still can be used, it was left as alias of oci_field_name for downwards compatability. This, however, is deprecated and not recommended.
Show all examples for oci_field_name