SQLite3Stmt::close

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

SQLite3Stmt::closeCloses the prepared statement

Beschreibung

public SQLite3Stmt::close(): true

Closes the prepared statement.

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

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

Gibt immer true zurück.

Fehler/Exceptions

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

Changelog

Version Beschreibung
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