odbc_close_all
(PHP 4, PHP 5, PHP 7, PHP 8)
odbc_close_all — Close all ODBC connections
参数
此函数没有参数。
返回值
没有返回值。
注释
注意:
This function will fail if there are open transactions on a connection. This connection will remain open in this case.
+添加备注
用户贡献的备注 1 note
alvaro at demogracia dot com ¶
16 years ago
Apparently, it doesn't really close *all* connections; just those used by the current script.
If you are using persistent connections, every time a script does an odbc_pconnect() and all open connections are in use you'll get a new connection with the same credentials. You won't close them all with odbc_close_all().
备份地址:http://www.lvesu.com/blog/php/function.odbc-close-all.php