Php/docs/function.yaz-close

From Get docs
Revision as of 08:03, 9 December 2020 by Notes (talk | contribs) (autoload)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

yaz_close

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0)

yaz_closeClose YAZ connection


Description

yaz_close ( resource $id ) : bool

Closes the connection given by parameter id.

Note:

This function will only close a non-persistent connection opened by setting the persistent option to FALSE with yaz_connect().

Parameters

id
The connection resource returned by yaz_connect().


Return Values

Returns TRUE on success or FALSE on failure.


See Also