Re: LDAP controls support API [Question for the RM at the end]

From: Date: Wed, 26 Jul 2017 16:11:48 +0000
Subject: Re: LDAP controls support API [Question for the RM at the end]
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-100050@lists.php.net to get a copy of this message
Hello again, I was able to easily add controls support to search operations since they already return the result object. (my previous message concerns modification operations) But I’m a bit stuck for EXOPs. Since ldap_exop generic method can return the result object I thought it would be easy as well. But the function is like this: resource ldap_exop(resource link, string reqoid [, string reqdata [, string retdata [, string retoid]]]) And it returns the result object only if retdata and retoid are not provided (otherwise it parses the result right away and fills them). So I cannot add control parameter at the end. As ldap_exop was merged in 7.2, is it possible to have a BC on it for 7.3 or not? It would be by adding options in the middle: resource ldap_exop(resource link, string reqoid [, string reqdata [, array servercontrols [, array clientcontrols [, string retdata [, string retoid]]]]]) Côme

« previous php.internals (#100050) next »