Annotation of embedaddon/php/ext/interbase/tests/ibase_errmsg_001.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: ibase_errmsg(): 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:
12: ibase_query('SELECT Foobar');
13: var_dump(ibase_errmsg());
14:
15: ibase_close($x);
16: var_dump(ibase_errmsg());
17:
18: ?>
19: --EXPECTF--
20: Warning: ibase_query(): Dynamic SQL Error SQL error code = -104 %s on line %d
21: string(%d) "Dynamic SQL Error SQL error code = -104 %s"
22: bool(false)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>