(PHP 7 >= 7.3.0,PHP 8)
ldap_mod_replace_ext — 以新值取代屬性值
$ldap
,$dn
,$entry
,$controls
= null
與 ldap_mod_replace() 的功能相同,但會傳回 LDAP\Result 實例,以便使用 ldap_parse_result() 進行解析。
傳回 LDAP\Result 實例,失敗時傳回 false
。
版本 | 描述 |
---|---|
8.1.0 | ldap 參數現在預期為 LDAP\Connection 實例;先前預期為有效的 ldap link 資源。 |
8.1.0 | 現在傳回 LDAP\Result 實例;先前傳回 資源。 |
8.0.0 |
controls 現在可為 null;先前預設為 [] 。 |
7.3.0 | 新增對 controls 的支援 |