summaryrefslogtreecommitdiff
path: root/ext/interbase/tests/002.phpt
blob: 37b0a4f344d94b964d1635d50c7e2331ce120c6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--TEST--
InterBase: connect, close and pconnect
--SKIPIF--
<?php include("skipif.inc"); ?>
--FILE--
<?php

	require("interbase.inc");
    
	ibase_connect($test_base);
	out_table("test1");
	ibase_close();

	$con = ibase_connect($test_base);
	$pcon1 = ibase_pconnect($test_base);
	$pcon2 = ibase_pconnect($test_base);
	ibase_close($con);
	unset($con);
	ibase_close($pcon1);
	unset($pcon1);

	out_table("test1");

	ibase_close($pcon2);
	unset($pcon2);
?>
--EXPECT--
--- test1 ---
1	test table not created with isql	
---
--- test1 ---
1	test table not created with isql	
---