xref: /PHP-8.0/ext/sqlite3/tests/bug47159.phpt (revision 2c916843)
1--TEST--
2Bug #45798 (sqlite3 doesn't track unexecuted statements)
3--SKIPIF--
4<?php require_once(__DIR__ . '/skipif.inc'); ?>
5--FILE--
6<?php
7
8require_once(__DIR__ . '/new_db.inc');
9
10$stmt = $db->prepare("SELECT 1");
11
12var_dump($stmt->close());
13
14var_dump($db->close());
15
16print "done";
17
18?>
19--EXPECT--
20bool(true)
21bool(true)
22done
23