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)
20bool(true)
21
22Warning: ibase_close() expects parameter 1 to be resource, string given in %s on line %d
23NULL
24