1--TEST-- 2odbc_columns(): 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_columns($conn, '', '', '', '')); 13var_dump(odbc_fetch_row($result)); 14 15var_dump($result = odbc_columns($conn, NULL, NULL, NULL, NULL)); 16var_dump(odbc_fetch_row($result)); 17 18var_dump($result = odbc_columns($conn, 'FOO', 'FOO', 'FOO', 'FOO')); 19var_dump(odbc_fetch_row($result)); 20 21?> 22--EXPECTF-- 23resource(%d) of type (odbc result) 24bool(false) 25resource(%d) of type (odbc result) 26bool(false) 27 28Warning: odbc_columns(): SQL error: Failed to fetch error message, SQL state HY000 in SQLColumns in %s on line %d 29bool(false) 30 31Warning: odbc_fetch_row() expects parameter 1 to be resource, boolean given in %s on line %d 32NULL 33