oci_error

PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0
oci_error - Returns the last error found
Manual
Code Examples

Example #1 Displaying the Oracle error message after a connection error

PHP Version:

Example #2 Displaying the Oracle error message after a parsing error

PHP Version:

Example #3 Displaying the Oracle error message, the problematic statement, and the position of the problem of an execution error

PHP Version:


Function oci_error:

Oracle OCI8 Functions

Most used PHP functions