oci_result
Function • Removed in PHP 8.4
Returns field's value from the fetched row.
oci_result Function synopsis
oci_result($statement, string|int $column): mixed
Parameters
$statement
$column
Typestring|int
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.
Return value
Typemixed
Returns everything as strings except for abstract types (ROWIDs, LOBs and
FILEs). Returns false on error.
Changes to the oci_result Function
PHP 8.4
- Function removed
PHP 8.0
- Return type added:
mixed - Parameter name of parameter #1 changed:
$statement_resourceto$statement - Parameter name of parameter #2 changed:
$column_number_or_nameto$column - Parameter type added for parameter #2 (
$column):string|int
- oci_result($statement_resource, $column_number_or_name)
+ oci_result($statement, string|int $column): mixed oci_result Function Availability
oci_result Function Availability| PHP Version | Availability |
|---|---|
| PHP 8.6Upcoming Release | No |
| PHP 8.5Supported (Latest) | No |
| PHP 8.4Supported | No |
| PHP 8.3Security-Fixes Only | Yes |
| PHP 8.2Security-Fixes Only | Yes |
| PHP 8.1Unsupported | Yes |
| PHP 8.0Unsupported | Yes |
| PHP 7.4Unsupported | Yes |
| PHP 7.3Unsupported | Yes |
| PHP 7.2Unsupported | Yes |
| PHP 7.1Unsupported | Yes |
| PHP 7.0Unsupported | Yes |
| PHP 5.6Unsupported | Yes |
| PHP 5.5Unsupported | Yes |
| PHP 5.4Unsupported | Yes |
| PHP 5.3Unsupported | Yes |