summaryrefslogtreecommitdiff
path: root/ext/sqlite3/tests/sqlite3_02_open.phpt
blob: db31587f68c2884ae558a6fd6517a072854c5df4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
SQLite3::open test, testing for function parameters
--CREDITS--
Felix De Vliegher
# Belgian PHP Testfest 2009
--SKIPIF--
<?php require_once(__DIR__ . '/skipif.inc'); ?>
--FILE--
<?php

try {
  $db = new SQLite3();
} catch (TypeError $e) {
  var_dump($e->getMessage());
}

?>
--EXPECT--
string(59) "SQLite3::__construct() expects at least 1 argument, 0 given"