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
 
<SQLite3Stmt::resetSQLite3Result>
^SQLite3StmtLast updated: Mon, 26 Oct 2026

SQLite3Stmt::setExplain

(PHP 8 >= 8.5.0)

SQLite3Stmt::setExplain — Changes the explain mode of the statement

Description

public function SQLite3Stmt::setExplain(int $mode): bool

Changes the explain mode of the statement, so that it behaves as if its SQL was prefixed with EXPLAIN or EXPLAIN QUERY PLAN, or as an ordinary statement again.

Return Values

Returns true on success or false on failure.

Errors/Exceptions

A ValueError is thrown if mode is not one of the SQLite3Stmt::EXPLAIN_MODE_* constants.

See Also


<SQLite3Stmt::resetSQLite3Result>
^SQLite3StmtLast updated: Mon, 26 Oct 2026