OCIError

(3.0.7 - 3.0.18 only, PHP 4 >= 4.0.0)

OCIError -- Return the last error of stmt|conn|global. If no error happened returns FALSE.

Description

array OCIError ([int stmt|conn|global])

OCIError() returns the last error found. If the optional stmt|conn|global is not provided, the last error encountered is returned. If no error is found, OCIError() returns FALSE. OCIError() returns the error as an associative array. In this array, code consists the oracle error code and message the oracle errorstring.