PECL CUBRID >= 8.3.0
cubrid_error_code - Get error code for the most recent function call
Code Examples

cubrid_error_code( ): int

The cubrid_error_code function is used to get the error code of the error that occurred during the API execution. Usually, it gets the error code when API returns false as its return value.


This function has no parameters.

Return Values

Error code of the error that occurred, or 0 (zero) if no error occurred.

Related Functions

Example of cubrid_error_code

Show all examples for cubrid_error_code

PHP Version:

Function cubrid_error_code:

CUBRID Functions

Most used PHP functions