PHP 8.4.6 Released!

ldap_bind_ext

(PHP 7 >= 7.3.0, PHP 8)

ldap_bind_extBind to LDAP directory

Опис

ldap_bind_ext(
    LDAP\Connection $ldap,
    ?string $dn = null,
    #[\SensitiveParameter] ?string $password = null,
    ?array $controls = null
): LDAP\Result|false

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

Параметри

See ldap_bind()

Значення, що повертаються

Повертає примірника LDAP\Result, або false в разі помилки.

Журнал змін

Версія Опис
8.1.0 Тепер параметр ldap має бути примірником LDAP\Connection; раніше очікувався дійсний resource ldap link.
8.1.0 Тепер повертає примірника LDAP\Result; раніше повертався resource.
8.0.0 Параметр controls тепер може бути null; раніше початково було [].

Прогляньте також

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant