Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100050 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52867 invoked from network); 26 Jul 2017 16:12:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jul 2017 16:12:08 -0000 Authentication-Results: pb1.pair.com header.from=come@opensides.be; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=come@opensides.be; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain opensides.be designates 195.154.20.141 as permitted sender) X-PHP-List-Original-Sender: come@opensides.be X-Host-Fingerprint: 195.154.20.141 smtp.opensides.be Received: from [195.154.20.141] ([195.154.20.141:44617] helo=smtp.opensides.be) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 82/69-49004-75FB8795 for ; Wed, 26 Jul 2017 12:12:07 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp.opensides.be (Postfix) with ESMTP id 73A1B1C0B75 for ; Wed, 26 Jul 2017 18:12:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at opensides.be Received: from smtp.opensides.be ([127.0.0.1]) by localhost (smtp.opensides.be [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Bl1AyduMuGGA for ; Wed, 26 Jul 2017 18:12:01 +0200 (CEST) Received: from mcmic-probook.localnet (63.120.199.77.rev.sfr.net [77.199.120.63]) by smtp.opensides.be (Postfix) with ESMTPSA id C1A6F1C0B32 for ; Wed, 26 Jul 2017 18:12:01 +0200 (CEST) To: internals@lists.php.net Date: Wed, 26 Jul 2017 18:11:48 +0200 Message-ID: <1695890.Q3ruuQZBqi@mcmic-probook> Organization: OpenSides User-Agent: KMail/5.2.3 (Linux/4.9.0-3-amd64; KDE/5.28.0; x86_64; ; ) In-Reply-To: <2177132.cc4GXqHK7k@mcmic-probook> References: <2177132.cc4GXqHK7k@mcmic-probook> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] LDAP controls support API [Question for the RM at the end] From: come@opensides.be (=?ISO-8859-1?Q?C=F4me?= Chilliet) Hello again, I was able to easily add controls support to search operations since they a= lready return the result object. (my previous message concerns modification= operations) But I=E2=80=99m a bit stuck for EXOPs. Since ldap_exop generic method can return the result object I thought it wo= uld 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 provide= d (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 o= r 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=C3=B4me