SQLite3Stmt::close
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
Closes the prepared statement
Description
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 Parameters
Return Values
Always
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. |