xref: /PHP-8.4/ext/sqlite3/tests/bug47159.phpt (revision 7f2f0c00)
1--TEST--
2Bug #45798 (sqlite3 doesn't track unexecuted statements)
3--EXTENSIONS--
4sqlite3
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