PHP Conference Nagoya 2025

SQLite3Stmt::close

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

SQLite3Stmt::closeCloses the prepared statement

Description

public 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.
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top