1--TEST--
2SQLite3::exec test, testing for wrong type parameters
3--CREDITS--
4Michelangelo van Dam
5# Belgian PHP Testfest 2009
6--SKIPIF--
7<?php require_once(__DIR__ . '/skipif.inc'); ?>
8--FILE--
9<?php
10
11$db = new SQLite3(':memory:');
12$db->exec(array ('a','b','c'), 20090509);
13
14?>
15--EXPECTF--
16Warning: SQLite3::exec() expects exactly 1 parameter, 2 given in %s on line %d
17