sybase_close()
(PHP 4, PHP 5)
Closes a Sybase connection
WarningThis function wasREMOVEDin PHP 7.0.0.
说明
sybase_close([resource $link_identifier]): bool
sybase_close() closes the link to a Sybase database that's associated with the specified link$link_identifier.
Note that this isn't usually necessary, as non-persistent open links are automatically closed at the end of the script's execution.
sybase_close() will not close persistent links generated by sybase_pconnect().
参数
- $link_identifier
If the link identifier isn't specified, the last opened link is assumed.
返回值
成功时返回TRUE
,或者在失败时返回FALSE
。
参见
sybase_connect()
Opens a Sybase server connectionsybase_pconnect()
Open persistent Sybase connection