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(__DIR__ . '/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--EXPECT--
19string(59) "SQLite3::__construct() expects at least 1 argument, 0 given"
20