Establece el valor de valor_retorno al valor que contiene la opci贸n indicada. Devuelve TRUE si todo se llev贸 a cabo correctamente, FALSE en caso de fallo.
El par谩metro opcion puede tener uno de los siguientes valores: LDAP_OPT_DEREF, LDAP_OPT_SIZELIMIT, LDAP_OPT_TIMELIMIT, LDAP_OPT_PROTOCOL_VERSION, LDAP_OPT_ERROR_NUMBER, LDAP_OPT_REFERRALS, LDAP_OPT_RESTART, LDAP_OPT_HOST_NAME, LDAP_OPT_ERROR_STRING, LDAP_OPT_MATCHED_DN. La descripci贸n de los valores puede encontrarse en draft-ietf-ldapext-ldap-c-api-xx.txt
Nota: Esta funci贸n solamente est谩 disponible si se utiliza un servidor OpenLDAP 2.x.x o el Netscape Directory SDK x.x, y se incluy贸 en la versi贸n de PHP 4.0.4
Vea tambi茅n ldap_set_option().