ldap_set_option

PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
ldap_set_option - Set the value of the given option
Manual
Code Examples

Example #1 Set protocol version

PHP Version:

Example #2 Set server controls

PHP Version: