您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

ingres_close

(PHP 4 >= 4.0.2, PHP 5 <= 5.0.5, PECL ingres:1.0-1.4.3)

ingres_close — Close an Ingres II database connection

说明

bool ingres_close ([ resource $link ] )

ingres_close() closes the connection to the Ingres server that's associated with the specified link.

ingres_close() isn't usually necessary, as it won't close persistent connections and all non-persistent connections are automatically closed at the end of the script.

参数

link

The connection link identifier. If not specified, the last opened link is used.

返回值

如果成功则返回 TRUE,失败则返回 FALSE