PHP Manual
Prev |  | Next

# ldap_close

ldap_close -- Close link to LDAP server

## Description

`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().

Prev | Home | Next
ldap_bind | Up | ldap_connect