Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66923 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93088 invoked from network); 3 Apr 2013 19:10:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Apr 2013 19:10:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.174 as permitted sender) X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.220.174 mail-vc0-f174.google.com Received: from [209.85.220.174] ([209.85.220.174:55198] helo=mail-vc0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C7/E5-07534-D9E7C515 for ; Wed, 03 Apr 2013 14:10:21 -0500 Received: by mail-vc0-f174.google.com with SMTP id hx10so1755681vcb.33 for ; Wed, 03 Apr 2013 12:10:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=umBdjKxufSOLhZsSFy8jwjYlYy+kTbaCfA/tmCrkAgM=; b=ynG1A2tzt1PxsKT0hq5dEXcSccauEiCP0PGlUcN8hKFMVWyug4qT0zeIUJyJ3RwLwf lwCyU08+y3n4tp/WiAT+J3e8v4U2x8iHGSSs9n3hFpwwpwS878lBzxnbBD2rdIpaSAPH xyZfgq12Si34PVtc09TJw4HwYd4ffLZgbvP+79o1RBKBtB2aWhpb78FhRTsqtqFUBLD7 4ylJzJXnmZQ4WPsRNf6hjaJ6mQhA5o4nJlhhiaZYnUH4QoDsi8MWjdbnxDcimbMg0B2R HC+1n6tWsU67VbkUM8rO2WDUuZ+Gtgxz9zvfmJJ2+lw0XSnJwaT4yORP5tBLA7fCuYTC IeNw== MIME-Version: 1.0 X-Received: by 10.52.176.138 with SMTP id ci10mr2012559vdc.35.1365016218840; Wed, 03 Apr 2013 12:10:18 -0700 (PDT) Sender: kalle.php@gmail.com Received: by 10.58.76.225 with HTTP; Wed, 3 Apr 2013 12:10:18 -0700 (PDT) In-Reply-To: References: <515BE6C2.7000801@sugarcrm.com> Date: Wed, 3 Apr 2013 21:10:18 +0200 X-Google-Sender-Auth: yh1ASSA3MMd5jhuDy-96vsPgwCA Message-ID: To: Laruence Cc: Stas Malyshev , David Soria Parra , julien pauli , PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Add a constant to reflect --with-curlwrappers From: kalle@php.net (Kalle Sommer Nielsen) Hi 2013/4/3 Laruence : > 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)... I see your point, but I think if we start adding "features" to an experimental feature is a bad idea, it becomes a concern when people start to rely on experimental features. I don't think it will be a huge concern for the RMs (cc'd) of 5.5 to consider removing curlwrappers, then we are done with that once and for all and we don't even need to add the constant as it would be odd that just a few versions of 5.4.x would have it. -- regards, Kalle Sommer Nielsen kalle@php.net