Ora_ErrorCode

Ora_ErrorCode -- get Oracle error code

Description

int Ora_ErrorCode(int cursor);

Returns the numeric error code of the last executed statement on the specified cursor.

The cursor parameter can as of PHP 3. 0.6 also be a connection id.