PHP 8.3.4 Released!

SQLite3::close

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

SQLite3::closeCloses the database connection

Description

public SQLite3::close(): bool

Closes the database connection.

Parameters

This function has no parameters.

Return Values

Returns true on success or false on failure.

Examples

Example #1 SQLite3::close() example

<?php
$db
= new SQLite3('mysqlitedb.db');
$db->close();
?>

add a note

User Contributed Notes

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