Annotation of embedaddon/php/ext/sqlite3/tests/sqlite3_exec_wrongparams.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: SQLite3::exec test, testing for wrong type parameters
! 3: --CREDITS--
! 4: Michelangelo van Dam
! 5: # Belgian PHP Testfest 2009
! 6: --SKIPIF--
! 7: <?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
! 8: --FILE--
! 9: <?php
! 10:
! 11: $db = new SQLite3(':memory:');
! 12: $db->exec(array ('a','b','c'), 20090509);
! 13:
! 14: ?>
! 15: --EXPECTF--
! 16: Warning: SQLite3::exec() expects exactly 1 parameter, 2 given in %s on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>