Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100051 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57969 invoked from network); 26 Jul 2017 16:48:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jul 2017 16:48:09 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.128.179 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.128.179 mail-wr0-f179.google.com Received: from [209.85.128.179] ([209.85.128.179:38366] helo=mail-wr0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/F9-49004-7C7C8795 for ; Wed, 26 Jul 2017 12:48:08 -0400 Received: by mail-wr0-f179.google.com with SMTP id f21so77549429wrf.5 for ; Wed, 26 Jul 2017 09:48:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=/spk1wTWVMpW2en53tc8KeIhSLJpg5kD8xt5R3eDKfw=; b=LQk8ef8iB9il+cTvpbGkOUPid2g9f2TeYn2nIRtFJVcB59J3yA7j5PuryK8/bzTM6Z XG42tLlQeGkejsqu903Vyak1bSILSFLa2T3/8LvnR30h+jToj+XS+IRR6DlLcHWHUSSD PzlNIYY7R52NtVhZE58eV9rGll9mQ3TzigHxSNv0y4uIgchDB4iJu+k+Xgr5qOZ4qJiW 2i6qssmELeFwPFYl2gYofAGGca52zlLcbsLQ4t8F02TCAUnpyVAFrE+ZQLbcpXIjal/4 5MBzLAk0iOA+SGfKE0dVWShXxK1NdYq7Nh1uyFmf4O97TilaaX7IHokNCtkVNJh25G3P WKHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=/spk1wTWVMpW2en53tc8KeIhSLJpg5kD8xt5R3eDKfw=; b=m2bbnjRe2klqfBoKjbqrdRBXBnUwdG/HU976hNvaEkFFot7BPV1FNnJmsIF/oeYkEj P55bU7jWckHvj10ctfUJcJd9nTODY7Nl6fIq3oBhb1uPNjSaCI6JLolXSBP/1NWfRcYU WQNNk3f2yr4WJt2MsKMI3OJ9TYuocEFO2Jc6o/RxmXjSYWMSzaogE/qd+ZDT/5hvsFNJ B8TTo/E6rIkTKVwd0LAOeXNGOjm23rIGvgxDIP+bQmUC3sbZqQmppPDgecxb9hDwErOr b+Muq9NOZbUdmwmKqgV9FkoenmJbVxsbYQpHPZP0deVVCWJVsZChDsB+PF61uLsxw5Ew nfcg== X-Gm-Message-State: AIVw110hLVxbDRiWs9ohMCw+IncmtULQ3xO5btKNarmA7pSkkSrDOd+/ JrhC7DQ56snMWEAV3nXAj3z1bYscc/t9 X-Received: by 10.223.150.101 with SMTP id c34mr1325938wra.266.1501087684851; Wed, 26 Jul 2017 09:48:04 -0700 (PDT) MIME-Version: 1.0 Sender: php@golemon.com Received: by 10.223.169.234 with HTTP; Wed, 26 Jul 2017 09:48:04 -0700 (PDT) X-Originating-IP: [206.252.215.26] In-Reply-To: <1695890.Q3ruuQZBqi@mcmic-probook> References: <2177132.cc4GXqHK7k@mcmic-probook> <1695890.Q3ruuQZBqi@mcmic-probook> Date: Wed, 26 Jul 2017 12:48:04 -0400 X-Google-Sender-Auth: 6nflHl_FwVU0QRjv3J2YSN_5DMw Message-ID: To: =?UTF-8?Q?C=C3=B4me_Chilliet?= Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] LDAP controls support API [Question for the RM at the end] From: pollita@php.net (Sara Golemon) On Wed, Jul 26, 2017 at 12:11 PM, C=C3=B4me Chilliet wr= ote: > 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]]]]]) > I'll be honest, the code in this function looks bizarre to my eyes (perhaps because I've been in C++14 land lately), but it's your code and you have the context in mind for it. The current return value for 4 or more args is simply `true`, so the BC break would be trivial to make that a resource (which evaluates as true), but I think we can make that even simpler. Just fix it before beta3 (or beta2 if the fix is already ready) and I won't tell on you to Remi. -Sara