// Without the control it would delete the referenced node// Make sure to set the control as critical to avoid that$result = ldap_delete_ext($link,'cn=reference,dc=example,dc=com', [['oid' => LDAP_CONTROL_MANAGEDSAIT, 'iscritical' => TRUE]]);