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