ldap_exop_sync
(PHP 8 >= 8.3.0)
Performs an extended operation
Description
Performs an extended operation on the specified ldap with request_oid the OID of the operation and request_data the data.
Parameters
ldapLdap
request_oidThe extended operation request OID. Can be one of the
LDAP_EXOP_*constants, or a string with the OID of the operation.request_dataThe extended operation request data. May be null for some operations like
LDAP_EXOP_WHO_AM_I, may also need to be BER encoded.controlsArray of LDAP Controls to send with the request.
response_dataWill be filled with the extended operation response data if provided. If not provided
ldap_parse_exop()may be used on the result object later to get this data.response_oidWill be filled with the response OID if provided, usually equal to the request OID.
Return Values
Returns true on success or false on error. The operation is always performed synchronously, so no result object is returned.