1--TEST-- 2SQLite3Result::reset test, testing an exception is raised when calling reset with parameters 3--CREDITS-- 4Michelangelo van Dam 5# Belgian PHP Testfest 2009 6--SKIPIF-- 7<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> 8--FILE-- 9<?php 10$db = new SQLite3(':memory:'); 11$db->exec('CREATE TABLE foo (bar STRING)'); 12$db->exec("INSERT INTO foo (bar) VALUES ('This is a test')"); 13$db->exec("INSERT INTO foo (bar) VALUES ('This is another test')"); 14 15$result = $db->query('SELECT bar FROM foo'); 16$result->reset(1); 17?> 18--EXPECTF-- 19Warning: SQLite3Result::reset() expects exactly 0 parameters, 1 given in %s on line %d 20