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