Code
Result

PHP code example: oci_error

Returns the last error found. See documentation.

You can try this function yourself. Just edit the code and on "Run" to see the result.