PHP Conference Japan 2024

ldap_parse_exop

(PHP 7 >= 7.2.0, PHP 8)

ldap_parse_exop解析 LDAP 擴充操作的結果物件

描述

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

從結果物件 result 解析 LDAP 擴充操作資料

參數

ldap

ldap_connect() 傳回的 LDAP\Connection 實例。

result

ldap_list()ldap_search() 傳回的 LDAP\Result 實例。

response_data

將填入回應資料。

response_oid

將填入回應 OID。

傳回值

成功時傳回 true,失敗時傳回 false

變更日誌

版本 描述
8.1.0 ldap 參數現在期望 LDAP\Connection 實例;先前,期望的是有效的 ldap 連線 資源
8.1.0 result 參數現在期望 LDAP\Result 實例;先前,期望的是有效的 ldap 結果 資源

參見

新增註解

使用者貢獻註解

此頁面尚無使用者貢獻註解。
To Top