ldap_parse_exop

(PHP 7 >= 7.2.0, PHP 8)

ldap_parse_exopParse result object from an LDAP extended operation

说明

ldap_parse_exop(
    LDAP\Connection $ldap,
    LDAP\Result $result,
    string &$response_data = null,
    string &$response_oid = null
): bool

Parse LDAP extended operation data from result object result

参数

ldap

An LDAP\Connection instance, returned by ldap_connect().

result

An LDAP\Result instance, returned by ldap_list() or ldap_search().

response_data

Will be filled by the response data.

response_oid

Will be filled by the response OID.

返回值

成功时返回 true, 或者在失败时返回 false

更新日志

版本 说明
8.1.0 The ldap parameter expects an LDAP\Connection instance now; previously, a 资源(resource) was expected.
8.1.0 The result parameter expects an LDAP\Result instance now; previously, a 资源(resource) was expected.

参见