(PHP 8 >= 8.3.0)
ldap_exop_sync — Performs an extended operation
$ldap,$request_oid,$request_data = null,$controls = null,&$response_data = null,&$response_oid = null
Performs an extended operation on the specified ldap with
request_oid the OID of the operation and
request_data the data.
ldaprequest_oidLDAP_EXOP_*
constants,
or a string with the OID of the operation.
request_datanull for some operations like LDAP_EXOP_WHO_AM_I,
may also need to be BER encoded.
controlsresponse_dataresponse_oid
When used with response_data,
returns true on success or false on error.
When used without response_data,
returns a result identifier or false on error.