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

通过 ldap_connect() 返回的 LDAP\Connection 实例。

result

通过 ldap_list() 或者 ldap_search() 返回的 LDAP\Result 实例。

response_data

Will be filled by the response data.

response_oid

Will be filled by the response OID.

返回值

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

更新日志

版本 说明
8.1.0 现在 ldap 参数接受 LDAP\Connection 实例,之前接受有效的 ldap link resource
8.1.0 The result parameter expects an LDAP\Result instance now; previously, a valid ldap result resource was expected.

参见

add a note

User Contributed Notes

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