Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<yaz_ccl_parseyaz_connect>
^YAZ FunctionsLast updated: Mon, 26 Oct 2026

yaz_close

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

yaz_close — Close YAZ connection

Description

function 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


<yaz_ccl_parseyaz_connect>
^YAZ FunctionsLast updated: Mon, 26 Oct 2026