PHP 8.1.28 Released!

SQLite3::close

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

SQLite3::closeデータベースとの接続を閉じる

説明

public SQLite3::close(): bool

データベースとの接続を閉じます。

パラメータ

この関数にはパラメータはありません。

戻り値

成功した場合に true を、失敗した場合に false を返します。

例1 SQLite3::close() の例

<?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