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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to