php8.5
Home/ Manual/ sqlite3 / sqlite3/ SQLite3::lastExtendedErrorCode

SQLite3::lastExtendedErrorCode

PHP function Edit on GitHub ✎

(PHP 7 >= 7.4.0, PHP 8)

Returns the numeric extended result code of the most recent failed SQLite request

Description

SQLite3::lastExtendedErrorCode(): int

Returns the numeric extended result code of the most recent failed SQLite request. Unlike SQLite3::lastErrorCode, this method always returns the extended result code, whether or not extended result codes have been enabled with SQLite3::enableExtendedResultCodes.

Parameters Parameters

Return Values

Returns an integer value representing the numeric extended result code of the most recent failed SQLite request.

See Also

  • SQLite3::enableExtendedResultCodes
  • SQLite3::lastErrorCode
  • SQLite3::lastErrorMsg

Source: reference/sqlite3/sqlite3/lastextendederrorcode.xml · from the official PHP manual (php/doc-en)