<?php /* Procedural Approach */
$db = sqlite_open("/path/to/database");
/* void sqlite_close(resource database_handle) */
sqlite_close($db);
?>
<?php /* Object Oriented Approach */
$db = new sqlite_db("/path/to/database");
unset($db);
?>