odbc_close_all

(PHP 4, PHP 5, PHP 7)

odbc_close_allClose all ODBC connections

설명

void odbc_close_all ( void )

odbc_close_all() will close down all connections to database server(s).

인수

이 함수는 인수가 없습니다.

반환값

값을 반환하지 않습니다.

주의

Note:

This function will fail if there are open transactions on a connection. This connection will remain open in this case.

add a note add a note

User Contributed Notes 1 note

up
-3
alvaro at demogracia dot com
15 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().
To Top