--TEST-- odbc_close_all(): Basic test --EXTENSIONS-- odbc --SKIPIF-- --FILE-- getMessage() . "\n"; } try { odbc_columns($conn2, '', '', '', ''); } catch (Error $e) { echo $e->getMessage() . "\n"; } try { odbc_num_rows($result1); } catch (Error $e) { echo $e->getMessage() . "\n"; } try { odbc_num_rows($result2); } catch (Error $e) { echo $e->getMessage() . "\n"; } ?> --EXPECTF-- object(Odbc\Connection)#%d (%d) { } object(Odbc\Connection)#%d (%d) { } object(Odbc\Result)#%d (%d) { } object(Odbc\Result)#%d (%d) { } ODBC connection has already been closed ODBC connection has already been closed ODBC result has already been closed ODBC result has already been closed