phpday 2027 - Call for Papers

ldap_mod_replace_ext

(PHP 7 >= 7.3.0, PHP 8)

ldap_mod_replace_ext — Replace attribute values with new ones

Descrizione

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

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

Elenco dei parametri

See ldap_mod_replace()

Valori restituiti

Restituisce un'istanza di LDAP\Result, o false in caso di fallimento.

Log delle modifiche

Versione Descrizione
8.1.0 Il parametro ldap ora si aspetta un'istanza di LDAP\Connection; in precedenza, era prevista una resource ldap link valida.
8.1.0 Ora restituisce un'istanza di LDAP\Result; in precedenza, veniva restituita una resource.
8.0.0 controls ora è nullable; in precedenza, il valore predefinito era [].
7.3.0 Support for controls added

Vedere anche:

+add a note

User Contributed Notes

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