Annotation of embedaddon/php/ext/sqlite3/tests/sqlite3_02_open.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: SQLite3::open test, testing for function parameters
! 3: --CREDITS--
! 4: Felix De Vliegher
! 5: # Belgian PHP Testfest 2009
! 6: --SKIPIF--
! 7: <?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
! 8: --FILE--
! 9: <?php
! 10:
! 11: try {
! 12: $db = new SQLite3();
! 13: } catch (Exception $e) {
! 14: var_dump($e->getMessage());
! 15: }
! 16:
! 17: ?>
! 18: --EXPECTF--
! 19: %string|unicode%(60) "SQLite3::__construct() expects at least 1 parameter, 0 given"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>