Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66871 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40495 invoked from network); 31 Mar 2013 13:26:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Mar 2013 13:26:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.52 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.215.52 mail-la0-f52.google.com Received: from [209.85.215.52] ([209.85.215.52:54662] helo=mail-la0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 55/B2-20307-67938515 for ; Sun, 31 Mar 2013 08:26:15 -0500 Received: by mail-la0-f52.google.com with SMTP id fs12so1530811lab.11 for ; Sun, 31 Mar 2013 06:26:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=Y2reo7OwL7jh3WWuRB94uXdB56Ke2QdxxvtOLRXnA3k=; b=HhEivC3FAp2jQlPGP9mYGzFG09+87j2c4FloISBGMH9OhiZS7UDALz2FbjEhE3Zcu8 6txayoR+r3C0QIeix2g0mBKz6cmX9UKQZPftu6Y1AWSnrQz4aiimOqze4WnVg/czxTM+ f6Xns/PNqKAgG9D4Xseq7B4S+7i68/2ry0JgyMZahXyz8H2o/esx5U4yAL3oVSsMdcoR XEfLstQ7ZiqALvrRas9I+dU0dRsUAZ/8qvzJYn6E1tVw3yhUr0BN+Kp0UwDKcwMUGczX +AbBRk9uHjNsWQAa4LN/6DCNyv+RviqlwR6x2lEtQxMzPzxu/60mMAE6IIJ8qfvds8v9 an4A== X-Received: by 10.152.133.130 with SMTP id pc2mr4003890lab.51.1364736371654; Sun, 31 Mar 2013 06:26:11 -0700 (PDT) MIME-Version: 1.0 Sender: laruence@gmail.com Received: by 10.114.66.196 with HTTP; Sun, 31 Mar 2013 06:25:51 -0700 (PDT) Date: Sun, 31 Mar 2013 21:25:51 +0800 X-Google-Sender-Auth: wnc_bIMkX3EqrEsKXYK98PPuDzw Message-ID: To: PHP Internals Content-Type: multipart/alternative; boundary=f46d042dfc87a5054704d9387213 Subject: Add a constant to reflect --with-curlwrappers From: laruence@php.net (Laruence) --f46d042dfc87a5054704d9387213 Content-Type: text/plain; charset=UTF-8 Hey: there are some issues when people run some codes in a php which is compiled with --with-curlwrappers, like #61336, or the recently test script for #64433 (failed when curl wrappers enabled). I know, that the curl wrapper should act the same as php http wrapper, but for now, we need to provide the ability to user, that they can warn if they codes can not run with curl wrappers.. here are some really usages: https://github.com/UnionOfRAD/lithium/issues/59 and http://weizhifeng.net/wrong-with-curlwrappers.html I propose to add a constant : bool CURL_WRAPPERS_ENABLE or, any other better name... objections? thanks -- Laruence Xinchen Hui http://www.laruence.com/ --f46d042dfc87a5054704d9387213--