xref: /PHP-5.4/ext/interbase/tests/002.phpt (revision 29cfd6d2)
1--TEST--
2InterBase: connect, close and pconnect
3--SKIPIF--
4<?php include("skipif.inc"); ?>
5--FILE--
6<?php /* $Id$ */
7
8	require("interbase.inc");
9
10	ibase_connect($test_base);
11	out_table("test1");
12	ibase_close();
13
14	$con = ibase_connect($test_base);
15	$pcon1 = ibase_pconnect($test_base);
16	$pcon2 = ibase_pconnect($test_base);
17	ibase_close($con);
18	unset($con);
19	ibase_close($pcon1);
20	unset($pcon1);
21
22	out_table("test1");
23
24	ibase_close($pcon2);
25	unset($pcon2);
26?>
27--EXPECT--
28--- test1 ---
291	test table not created with isql
30---
31--- test1 ---
321	test table not created with isql
33---
34