Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66917 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75375 invoked from network); 3 Apr 2013 14:51:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Apr 2013 14:51:39 -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.182 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.217.182 mail-lb0-f182.google.com Received: from [209.85.217.182] ([209.85.217.182:40191] helo=mail-lb0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 99/C2-07534-9F14C515 for ; Wed, 03 Apr 2013 09:51:38 -0500 Received: by mail-lb0-f182.google.com with SMTP id z13so1645998lbh.41 for ; Wed, 03 Apr 2013 07:51:35 -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=mfKMlPsr3LazUUvpTOOJ93wtnioqxzywlj/dWoT672U=; b=Kw70IHWeeruujnApmQ53tDkreYDDau0qKC5m+tMvC1mVAkZGR9nIrHdNdNvFrnux2d XJ45bNC+gOGCDClDISNfcyZvMCbrjDw3lw6WAt2sdGmjj0o5bdHUJ6DYC2T4UAANKLUz mI34JGy3yHeeMfgmAo2Rb9GcjBkiIFchAWFnANVCCZcuNYnp7/xFztQ081rZRWmueNak xVX14mkgcP/FmLJ+un7akEhunc0dUOUu7k2x1Z3GwLFrx6VMSfT7YO7xQF0bDRJFXIX/ nTmcbi3ruhnBT1Bak/Aru+wa0+IJnBH6RIzP33BNnDHcXPq0bALobUMxodpx/O3/m6wf S96A== X-Received: by 10.112.101.230 with SMTP id fj6mr1225237lbb.115.1365000694785; Wed, 03 Apr 2013 07:51:34 -0700 (PDT) MIME-Version: 1.0 Sender: laruence@gmail.com Received: by 10.114.66.196 with HTTP; Wed, 3 Apr 2013 07:51:14 -0700 (PDT) In-Reply-To: References: <515BE6C2.7000801@sugarcrm.com> Date: Wed, 3 Apr 2013 22:51:14 +0800 X-Google-Sender-Auth: hMc5QWZsVK_tM_sI_juTY3RWWhY Message-ID: To: Kalle Sommer Nielsen Cc: Stas Malyshev , PHP Internals Content-Type: multipart/alternative; boundary=f46d0401f99b87f33604d975fdcb Subject: Re: [PHP-DEV] Add a constant to reflect --with-curlwrappers From: laruence@php.net (Laruence) --f46d0401f99b87f33604d975fdcb Content-Type: text/plain; charset=UTF-8 On Wed, Apr 3, 2013 at 10:42 PM, Kalle Sommer Nielsen wrote: > 2013/4/3 Laruence : > > On Wed, Apr 3, 2013 at 4:22 PM, Stas Malyshev >wrote: > > > >> Hi! > >> > >> > Added new constant CURL_WRAPPERS_ENABLE in (include 5.4) > >> > > >> > https://github.com/php/php-src/commit/d7f709a032a40cb475042b43db07a4698a2488b7 > >> > >> I must say the process of how it was done was not very good. Not only > >> there were no substantial discussion on adding this new thing in stable > >> version before the commit, the time between message announcing it and > >> asking if there are any objections and the commit was barely a day. It's > >> not enough time at all to solicit feedback, and this change is not > >> really something urgent that needs to be committed ASAP. And it turns > >> out, there *are* objections. Could we be a little less quick with > >> commits into a stable version and give it some time when we're talking > >> about new things and not bugfixes? > >> > > Hey: > > I have to say, the objections only shows up after it happens.. > > > > but yes, I am a little rush at this commit, that is because, you can > > see, the test script in ext/standard/tests/stream is depends on a ugly > > trick to skip . it make me very uncomfortable. > > > > I send the mail the day before yesterday, and it's really not a big > > change (add a constant), then no new feedback in a day, I think it's > okey > > to commit. > > > > however, you are right, it's not a long time, so if objections > becomes > > strong, I can revert it. > > I think my argument against adding the constant is at least just as > strong as adding it. I agree we shouldn't go RFC/vote etc, over one > single constant but I think we can all agree on the fact that we > shouldn't try to add hacks to fix usage of an experimental feature > (which is essentially what this constant is). > Hey: but as you see, many people was entrapped by the experimental feature, and whether the experimental is there is out of their hands. I, from a user aspect, I need to know whether my project can run in the host environment. if not, I can warn the user to re-configure it. this is very important. now, the hack way , as you can see, to check if the --with-curlwrappers exists in phpinfo(), doesn't work very well, if the curl extension is built as shared and separated. I don't think adding this flag is a hack way, it's just to reflect some features, like if (class_exists(PDO)), or like (if PHP_VERSION == 5.4)... thanks > > We need more consistency, than inconsistencies. > > -- > regards, > > Kalle Sommer Nielsen > kalle@php.net > -- Laruence Xinchen Hui http://www.laruence.com/ --f46d0401f99b87f33604d975fdcb--