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

參數(shù)

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 現(xiàn)在 ldap 參數(shù)接受 LDAP\Connection 實例,之前接受 資源(resource)。
8.1.0 The result parameter expects an LDAP\Result instance now; previously, a 資源(resource) was expected.

參見