# ldap_add_ext

(PHP 7 >= 7.3.0)

ldap_add_ext — Add entries to LDAP directory

### 说明

ldap_add_ext ( resource `$link_identifier` , string `$dn` , array `$entry` [, array `$serverctrls` = array() ] ) : resource

Does the same thing as ldap_add() but returns the LDAP result resource to be parsed with ldap_parse_result().

### 参数

See ldap_add()

### 返回值

Returns an LDAP result identifier or `FALSE` on error.

### 注释

> Note: 此函数可安全用于二进制对象。

### 参见

- ldap_add() - Add entries to LDAP directory
- ldap_parse_result() - Extract information from result