PHP - Manual: ingres_close
2024-12-23
(PHP 4 >= 4.0.2, PHP 5 < 5.1.0, PECL ingres >= 1.0.0)
ingres_close — Close an Ingres database connection
$link
) : boolingres_close() closes the connection to the Ingres server that is associated with the specified link.
ingres_close() is usually unnecessary, as it will not close persistent connections and all non-persistent connections are automatically closed at the end of the script.
link
The connection link identifier
成功时返回 TRUE
, 或者在失败时返回 FALSE
。
官方地址:https://www.php.net/manual/en/function.ingres-close.php