Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58846 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72584 invoked from network); 11 Mar 2012 22:09:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Mar 2012 22:09:30 -0000 Authentication-Results: pb1.pair.com header.from=tom@punkave.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tom@punkave.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain punkave.com designates 209.85.210.170 as permitted sender) X-PHP-List-Original-Sender: tom@punkave.com X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:43992] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 76/87-24751-8922D5F4 for ; Sun, 11 Mar 2012 17:09:28 -0500 Received: by iaeh11 with SMTP id h11so6667441iae.29 for ; Sun, 11 Mar 2012 15:09:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=Ar/EGUq/ALYK9ecBPs2aqMaCdAIzpf1AabN2kNl2Zsc=; b=bGiaDAfP/bJjJnGqa67fnpbxRIkMX8T10yyBEjxxkTqPUuYvKX0TkjjB3VYUvGdsQD ah+gdOIDSEPaNnYVOC6aYtXY6OaIDO0jO83JrrYMR3pL5VSnKOta0H9V648NjGYNJLIT Yx+vENSlY1m707muhV5fttIoPh2EnGcV0lz44STHwCEozmcnZwbNoYwpG89e4pK6GwFx U/LxaBg1O8PC87xTBI45+yoCxQbcq19ZOtC97cAz4kYK7Db8Tr5XcYc1E70/FMo989Vn tjulp3Kl6kc3zg734naLFQJmFppy5HAidFgrAzfweSC51t5db2O3riK/11tQOrB5OdOl qkqQ== MIME-Version: 1.0 Received: by 10.42.72.130 with SMTP id o2mr14127748icj.8.1331503765564; Sun, 11 Mar 2012 15:09:25 -0700 (PDT) Received: by 10.231.152.85 with HTTP; Sun, 11 Mar 2012 15:09:25 -0700 (PDT) In-Reply-To: References: <4F5C5540.8010204@sugarcrm.com> Date: Sun, 11 Mar 2012 18:09:25 -0400 Message-ID: To: Pierre Joye Cc: Stas Malyshev , Pierrick Charron , Internals Content-Type: multipart/alternative; boundary=90e6ba6e84f6f6ae7c04bafee0ed X-Gm-Message-State: ALoCoQn3fCZocMaFldII6D9dn1HXr75guNuIEWgPscf8siSyH+0aabT5TLbZYvXMQ5PcIjg6P+0L Subject: Re: [PHP-DEV] Upgrade cURL extension From: tom@punkave.com (Tom Boutell) --90e6ba6e84f6f6ae7c04bafee0ed Content-Type: text/plain; charset=ISO-8859-1 I do see now that at curl did introduce the @ craziness. So it is unfair of me to single out PHP for introducing it. I'm not sure if the @ syntax is a sneaky feature of the standard C API, but it's definitely a sneaky feature of the command line utility. I did include a comment there when I first opened that bug report, proposing a more appropriate and sustainable interface. Documentation changes would make it possible to avoid the problem by looking carefully for strange "gotchas" in the fine print - but not to actually submit a value starting with a @, if, y'know, I wanted to do something crazy-nutty like send arbitrary data legal in any other form submission (: Apologies for hijacking the discussion. The '@' business does not come from libcurl. Native C libcurl On Sun, Mar 11, 2012 at 3:38 PM, Pierre Joye wrote: > hi Tom, > > For one, it is mapped to the libcurl constants and behavior. > > Also this but report contains clear comment about this issue being a > documentation problem, contribution welcome :) > > If you consider it as something that should be changed, then please > feel free to add a comment there as well, or a patch :) > > But that's not really what we discuss here but the new code proposed > by Pierrick. > > Cheers, > > On Sun, Mar 11, 2012 at 4:22 PM, Tom Boutell wrote: > > I'd sure like a PHP extension that didn't have this obvious and nasty > bug: > > > > https://bugs.php.net/bug.php?id=46439 > > > > On Sun, Mar 11, 2012 at 3:33 AM, Stas Malyshev >wrote: > > > >> Hi! > >> > >> > >> I wanted to make this new version available in PHP5.4 but > >>> unfortunately I did finish my work when it was already in RC phase. > >>> The question now is should we include this new version in PHP5.4.1 or > >>> should we wait for PHP 5.5/6/7 or whatever PHP next will be. There is > >>> no feature break (AFAIK) so all the previous code should work as > >>> expected. You'll find the list of new features attached and the last > >>> code in the trunk branch. > >>> > >> > >> Can't you make it also available as pecl extension, which could be built > >> on 5.4? This way people could enjoy the benefits of your work without > >> stable branch being disrupted and BC problems raised. > >> > >> -- > >> Stanislav Malyshev, Software Architect > >> SugarCRM: http://www.sugarcrm.com/ > >> (408)454-6900 ext. 227 > >> > >> > >> -- > >> PHP Internals - PHP Runtime Development Mailing List > >> To unsubscribe, visit: http://www.php.net/unsub.php > >> > >> > > > > > > -- > > Tom Boutell > > P'unk Avenue > > 215 755 1330 > > punkave.com > > window.punkave.com > > > > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com --90e6ba6e84f6f6ae7c04bafee0ed--