PHP 7.4.22 Released!

ldap_delete_ext

(PHP 7 >= 7.3.0, PHP 8)

ldap_delete_extDelete an entry from a directory

Description

ldap_delete_ext(resource $ldap, string $dn, ?array $controls = null): resource|false

Does the same thing as ldap_delete() but returns the LDAP result resource to be parsed with ldap_parse_result().

Parameters

See ldap_delete()

Return Values

Returns an LDAP result identifier or false on error.

Changelog

Version Description
8.0.0 controls is nullable now; previously, it defaulted to [].

See Also

add a note add a note

User Contributed Notes

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