Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SQLite3::lastErrorMsgSQLite3::lastInsertRowID>
^SQLite3Last updated: Mon, 26 Oct 2026

SQLite3::lastExtendedErrorCode

(PHP 7 >= 7.4.0, PHP 8)

SQLite3::lastExtendedErrorCode — Returns the numeric extended result code of the most recent failed SQLite request

Description

public function 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

This function has no parameters.

Return Values

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

See Also


<SQLite3::lastErrorMsgSQLite3::lastInsertRowID>
^SQLite3Last updated: Mon, 26 Oct 2026