1--TEST--
2SQLite3::lastErrorMsg test with parameters
3--CREDITS--
4Thijs Feryn <thijs@feryn.eu>
5#TestFest PHPBelgium 2009
6--SKIPIF--
7<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
8--FILE--
9<?php
10$db = new SQLite3(':memory:');
11var_dump($db->lastErrorMsg('invalid argument'));
12echo "Done\n";
13?>
14--EXPECTF--
15Warning: SQLite3::lastErrorMsg() expects exactly 0 parameters, 1 given in %s on line %d
16NULL
17Done
18