Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66963 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20549 invoked from network); 4 Apr 2013 22:42:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Apr 2013 22:42:59 -0000 Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.46 as permitted sender) X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.212.46 mail-vb0-f46.google.com Received: from [209.85.212.46] ([209.85.212.46:35757] helo=mail-vb0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1A/D2-05730-3F10E515 for ; Thu, 04 Apr 2013 17:42:59 -0500 Received: by mail-vb0-f46.google.com with SMTP id 11so1719706vbe.33 for ; Thu, 04 Apr 2013 15:42:56 -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=mjXWHm79Fp+l7aGOknpLFPTWZ8nJrJdG6l2ElBfSHgw=; b=T6jtsbVYW56wBacCkbgDqTLjhV3OtP7GyC9Onc+2T0GAZa9qbqCQz1H30rot8TfUT3 P5DkSxkuUdOt/cJulXLRABgppWoMeLjo5jU4rc+O8+LG9MCMfbM0st54p7WgwIgOIu12 NGoN5BpvJA8iU07NQ+0hLmO16iVtlVACtF9W4QOKetOufnM168x8lVpGrEE/8EV4aHt2 tqtS0RymvJGUkGa7W1ZPR8lGYg8j34igomg1DGuMK+5xc0Dz9XMprBNJew1edtQH30/R CgOJOGiUQTeRg3G8YPHJ6DnJkvwvrwCQHel2FHIyGAWaJI+fVgkMMXOAXFzxIuFR0n53 fJ/Q== MIME-Version: 1.0 X-Received: by 10.52.176.138 with SMTP id ci10mr5502677vdc.35.1365115376716; Thu, 04 Apr 2013 15:42:56 -0700 (PDT) Sender: kalle.php@gmail.com Received: by 10.58.76.225 with HTTP; Thu, 4 Apr 2013 15:42:56 -0700 (PDT) In-Reply-To: References: <515BE6C2.7000801@sugarcrm.com> <515C9878.8060603@sugarcrm.com> <7848763017118166753@unknownmsgid> Date: Fri, 5 Apr 2013 00:42:56 +0200 X-Google-Sender-Auth: dkgTZhye0_JZ9puLOfxNf27bZQ4 Message-ID: To: Hannes Magnusson Cc: Pierrick Charron , Julien Pauli , Xinchen Hui , Leigh , Laruence , Stas Malyshev , Ferenc Kovacs , 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) 2013/4/4 Hannes Magnusson : > stream_wrapper_unregister("http"); > stream_wrapper_register("http", "CurlStreamWrapper"); > and then stream_wrapper_restore("http") to go back to the core streams. If we alter curlwrappers to work like that, then it could stay, and since this is an experimental feature we can break BC just as much as we like for it. Allowing overrides to core features is indeed a very bad idea and can cause headaches like this one, I won't go too much into this now as we also have the phpconfopts() thread going where theres probably gonna be some more discussions regarding this subject in general. -- regards, Kalle Sommer Nielsen kalle@php.net