1--TEST-- 2SQLite3:: reset 3--CREDITS-- 4Ward Hus & James Cauwelier 5#@ PHP TESTFEST 2009 (BELGIUM) 6--SKIPIF-- 7<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> 8--FILE-- 9<?php 10 11$db = new SQLite3(':memory:'); 12 13$db->exec('CREATE TABLE foo (id INTEGER, bar STRING)'); 14$db->exec("INSERT INTO foo (id, bar) VALUES (1, 'This is a test')"); 15 16$stmt = $db->prepare('SELECT bar FROM foo WHERE id=:id'); 17$stmt->bindValue(':id', 1, SQLITE3_INTEGER); 18$stmt->reset("dummy"); 19$stmt->reset(); 20 21//var_dump($db); 22//var_dump($db->close()); 23echo "Done\n"; 24?> 25--EXPECTF-- 26Warning: SQLite3Stmt::reset() expects exactly 0 parameters, 1 given in %s on line %d 27Done 28