1--TEST--
2SQLite3::re-initialize object tests
3--CREDITS--
4Jelle Lampaert
5#Belgian Testfest 2009
6--SKIPIF--
7<?php require_once(__DIR__ . '/skipif.inc'); ?>
8--FILE--
9<?php
10
11try {
12  $db = new SQLite3(__DIR__ . '/db1.db');
13  $db->open(__DIR__ . '/db1.db');
14} catch (Exception $ex) {
15  var_dump($ex->getMessage());
16}
17
18?>
19--CLEAN--
20<?php @unlink(__DIR__ . '/db1.db'); ?>
21--EXPECT--
22string(29) "Already initialised DB Object"
23