PHP.nl

ldap_bind_ext

ldap_bind_ext

Bind to LDAP directory

 **ldap_bind_ext** LDAP\Connection $ldap  $dn  $password  $controls

Does the same thing as but returns an instance to be parsed with . ldap_bind``LDAP\Result``ldap_parse_result

See 

ldap_bind

ldap.return-result

ldap_bind``ldap_parse_result