1--TEST-- 2odbc_tables(): Basic test 3--EXTENSIONS-- 4odbc 5--SKIPIF-- 6<?php include 'skipif.inc'; ?> 7--FILE-- 8<?php 9 10include 'config.inc'; 11 12$conn = odbc_connect($dsn, $user, $pass); 13 14var_dump($result = odbc_tables($conn, '', '', '', '')); 15var_dump(odbc_fetch_row($result)); 16 17var_dump($result = odbc_tables($conn)); 18var_dump(odbc_fetch_row($result)); 19var_dump(odbc_free_result($result)); 20 21var_dump($result = odbc_tables($conn, NULL, NULL, NULL, NULL)); 22var_dump(odbc_fetch_row($result)); 23var_dump(odbc_free_result($result)); 24 25var_dump($result = odbc_tables($conn, 'FOO', 'FOO', 'FOO', 'FOO')); 26var_dump(odbc_fetch_row($result)); 27 28?> 29--EXPECTF-- 30object(Odbc\Result)#%d (%d) { 31} 32bool(false) 33object(Odbc\Result)#%d (%d) { 34} 35bool(true) 36bool(true) 37object(Odbc\Result)#%d (%d) { 38} 39bool(true) 40bool(true) 41object(Odbc\Result)#%d (%d) { 42} 43bool(false) 44