1--TEST--
2ibase_close(): Basic test
3--SKIPIF--
4<?php include("skipif.inc"); ?>
5--FILE--
6<?php
7
8require("interbase.inc");
9
10$x = ibase_connect($test_base);
11var_dump(ibase_close($x));
12var_dump(ibase_close($x));
13var_dump(ibase_close());
14var_dump(ibase_close('foo'));
15
16?>
17--EXPECTF--
18bool(true)
19bool(true)
20
21Warning: ibase_close(): %d is not a valid Firebird/InterBase link resource in %s on line %d
22bool(false)
23
24Warning: ibase_close() expects parameter 1 to be resource,%string given in %s on line %d
25NULL
26