1--TEST-- 2Bug #78473 (odbc_close() closes arbitrary resources) 3--EXTENSIONS-- 4odbc 5--FILE-- 6<?php 7try { 8 odbc_close(STDIN); 9} catch (TypeError $err) { 10 echo $err->getMessage(), PHP_EOL; 11} 12var_dump(STDIN); 13?> 14--EXPECT-- 15odbc_close(): Argument #1 ($odbc) must be of type Odbc\Connection, resource given 16resource(1) of type (stream) 17