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

SQLite3Stmt::close

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

SQLite3Stmt::close — Closes the prepared statement

Description

public function SQLite3Stmt::close(): true

Closes the prepared statement.

Note:

Note that all SQLite3Results that have been retrieved by executing this statement will be invalidated when the statement is closed.

Parameters

This function has no parameters.

Return Values

Always returns true.

Errors/Exceptions

An Error is thrown if the method is called on an uninitialized object.

Changelog

Version Description
8.1.0 This method now throws an Error exception if the object is not correct initialized. Previously, it returned false.

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