xref: /PHP-7.2/ext/odbc/tests/odbc_tables_001.phpt (revision 3201292c)
1--TEST--
2odbc_tables(): Basic test
3--SKIPIF--
4<?php include 'skipif.inc'; ?>
5--FILE--
6<?php
7
8include 'config.inc';
9
10$conn = odbc_connect($dsn, $user, $pass);
11
12var_dump($result = odbc_tables($conn, '', '', '', ''));
13var_dump(odbc_fetch_row($result));
14
15var_dump($result = odbc_tables($conn, NULL, NULL, NULL, NULL));
16var_dump(odbc_fetch_row($result));
17
18var_dump($result = odbc_tables($conn, 'FOO', 'FOO', 'FOO', 'FOO'));
19var_dump(odbc_fetch_row($result));
20
21
22?>
23--EXPECTF--
24resource(%d) of type (odbc result)
25bool(false)
26resource(%d) of type (odbc result)
27bool(false)
28resource(%d) of type (odbc result)
29bool(false)
30