1--TEST--
2SQLite3::open test, testing for function parameters
3--CREDITS--
4Felix De Vliegher
5# Belgian PHP Testfest 2009
6--SKIPIF--
7<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
8--FILE--
9<?php
10
11try {
12  $db = new SQLite3();
13} catch (TypeError $e) {
14  var_dump($e->getMessage());
15}
16
17?>
18--EXPECTF--
19%string|unicode%(60) "SQLite3::__construct() expects at least 1 parameter, 0 given"
20