1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 01:32:22 +01:00
Files
archived-php-src/ext/sqlite/tests/blankdb_oo.inc
2003-12-05 13:42:04 +00:00

12 lines
232 B
PHP
Executable File

<?php #vim:ft=php
$dbname = tempnam(dirname(__FILE__), "phpsql");
function cleanup() {
global $db, $dbname;
$db = NULL;
usleep(500000);
@unlink($dbname);
}
register_shutdown_function("cleanup");
$db = new sqlite_db($dbname);
?>