Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66933 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47241 invoked from network); 4 Apr 2013 05:34:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Apr 2013 05:34:35 -0000 Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.180 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.217.180 mail-lb0-f180.google.com Received: from [209.85.217.180] ([209.85.217.180:59124] helo=mail-lb0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BA/00-46468-9E01D515 for ; Thu, 04 Apr 2013 00:34:34 -0500 Received: by mail-lb0-f180.google.com with SMTP id t11so2295584lbi.25 for ; Wed, 03 Apr 2013 22:34:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=iG8wwOvMaX+JopGBm2kik8e3MTGP2STLFbRh3ZRfHVw=; b=X0sz5C5C8LY05bHiH1tZob2aMlPPe06LMwWvyGMOk9WtReq7klrpvfl8XJJTWwTj+u /7CswREvSqLfAL7vRBYGA7LFM/ShGVQkOTzXhIowbzT/sMHiSufnUcy+QPSIbthXfQEh DRLMqNq12iOkt4GZHXrKIsmVea2FQbZEY3Da+sU0Rd9zn3CveyTb3v+gKfG/6ICbSAKL YfOcc6hWu4xPG+HZEHO1+IaTVYeXUUFJtQ2P+tsyql9RUvPUDw/HznUisAwQJW4A18yY vQyZnHNVKgk9SVZ7LrN4vMXCFsyKIsZIJ/Cf86ItOyanhlLfUVoU3tzs5BlfgSoj33L3 WCnw== X-Received: by 10.112.59.104 with SMTP id y8mr2556467lbq.39.1365053670535; Wed, 03 Apr 2013 22:34:30 -0700 (PDT) MIME-Version: 1.0 Sender: laruence@gmail.com Received: by 10.114.66.196 with HTTP; Wed, 3 Apr 2013 22:34:10 -0700 (PDT) In-Reply-To: References: <515BE6C2.7000801@sugarcrm.com> <515C9878.8060603@sugarcrm.com> Date: Thu, 4 Apr 2013 13:34:10 +0800 X-Google-Sender-Auth: HkiVLE8e8DirU40xSn7v8WWyS_w Message-ID: To: Hannes Magnusson Cc: Stas Malyshev , Ferenc Kovacs , PHP Internals Content-Type: multipart/alternative; boundary=e89a8f83abd721b8b104d98253e2 Subject: Re: [PHP-DEV] Add a constant to reflect --with-curlwrappers From: laruence@php.net (Laruence) --e89a8f83abd721b8b104d98253e2 Content-Type: text/plain; charset=UTF-8 On Thu, Apr 4, 2013 at 5:37 AM, Hannes Magnusson wrote: > On Wed, Apr 3, 2013 at 2:00 PM, Stas Malyshev > wrote: > > Hi! > > > >> There is absolutely no need for a RFC for it. > >> Heck, even that initial curtesy mail was more then I would have > expected. > > > > Agree, no need for full scale RFC for one constant. However, sending an > > email to the list and actually waiting for feedback is exactly what I > > would expect, especially dealing with stable version and feature that it > > is not exactly clear what's going on with it. We're not talking about > > writing RFCs for every minor change, we're talking about teamwork and > > have members of the team be aware of the change and have time to discuss > > it if needed. Nothing bad would happen if the same commit would land a > > week later, after everybody is behind it and every detail is hashed out > > (or not if turns out it is out of consensus). The point here is not to > > impede work but to support teamwork. > > > There is a thin line between impeding work and team work for such a > trivial change. > This constant is actually really useful. > The entire feature is however unfortunately broken, but had it been in > a working shape then common. Really? Send an email and wait a week > before being able to write a testcase? > > Anyway. Lets move on. > I suspect removing an experimental feature in an extension that is > disabled by default and requires external library still requires an > RFC? > And according to the current rules of the game it cannot be removed in > 5.5.1, but has to be removed in 5.6.0? > Hey: I am afraid yes, we can only remove it in 5.6. now, since I already commit it (I am sorry for rushing then). and you all agree that the constant is useful, so I think it's okey to change the constant's name from curl_wrappers_enable to curl_wrappers_enabled, and only defined when curl is built with --with-curlwrappers. then user can simply use if (defined(CURL_WRAPPERS_ENABLED) {} after this, we can move on to write a RFC about remove the experiment feature in 5.6, okey? thanks > > -Hannes > -- Laruence Xinchen Hui http://www.laruence.com/ --e89a8f83abd721b8b104d98253e2--