summaryrefslogtreecommitdiff
path: root/ext/sqlite3/tests/sqlite3_02_open.phpt
blob: f9155e7d79ab24edcdca128c725ebbda66dd8019 (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(dirname(__FILE__) . '/skipif.inc'); ?>
--FILE--
<?php

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

?>
--EXPECTF--
%string|unicode%(60) "SQLite3::__construct() expects at least 1 parameter, 0 given"