The optional elements are key value with string value and key iscritical with boolean value. iscritical defaults to FALSE if not supplied.
This function is only available when using OpenLDAP 2.x.x OR Netscape Directory SDK x.x, and was added in PHP 4.0.4