1--TEST-- 2SQLite3Result::fetchArray() test, testing two params causes a failure 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'); 16var_dump($result->fetchArray(1,2)); 17?> 18--EXPECTF-- 19Warning: SQLite3Result::fetchArray() expects at most 1 parameter, 2 given in %s on line %d 20NULL 21