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