phpday 2027 - Call for Papers

ldap_mod_add_ext

(PHP 7 >= 7.3.0, PHP 8)

ldap_mod_add_ext — Add attribute values to current attributes

Açıklama

function ldap_mod_add_ext(
    LDAP\Connection $ldap,
    string $dn,
    array $entry,
    ?array $controls = null
): LDAP\Result|false

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

Bağımsız Değişkenler

See ldap_mod_add()

Dönen Değerler

Başarı durumunda LDAP\Result nesnesi, başarısızlık durumunda false döner.

Sürüm Bilgisi

Sürüm: Açıklama
8.1.0 ldap bağımsız değişkeni artık LDAP\Connection nesnesi kabul ediyor, evvelce resource türünde geçerli bir ldap link değeri kabul ederdi.
8.1.0 Artık LDAP\Result nesnesi dönüyor; evvelce LDAP özkaynağı dönerdi.
8.0.0 denetimler artık null olabiliyor; evvelce [] öntanımlı idi.
7.3.0 Support for controls added

Ayrıca Bakınız

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top