(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

ldap_close -- Close link to LDAP server


int ldap_close (int link_identifier)

Returns TRUE on success, FALSE on error.

ldap_close() closes the link to the LDAP server that's associated with the specified link_identifier.

This call is internally identical to ldap_unbind(). The LDAP API uses the call ldap_unbind(), so perhaps you should use this in preference to ldap_close().