Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81431 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50681 invoked from network); 30 Jan 2015 14:22:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jan 2015 14:22:34 -0000 Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.173 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 209.85.212.173 mail-wi0-f173.google.com Received: from [209.85.212.173] ([209.85.212.173:60093] helo=mail-wi0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A2/B2-35409-8A39BC45 for ; Fri, 30 Jan 2015 09:22:33 -0500 Received: by mail-wi0-f173.google.com with SMTP id r20so3391859wiv.0 for ; Fri, 30 Jan 2015 06:22:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=EvBDWJQBb6x6167aeUiTPm+9ycHE7Hq6UqS8oLPyFdM=; b=ZgfaKuK0ijXXFbO60OMKgVuEUhF9UeuBsRURZOzvgsm39kVDhUqAnHeTs4aKnjisgD Hnl2PBV1U32IFyIcqopfbpZD2Cl/eytiIuXKZhqJiL89VPRFywNeDxRg9ZH7KJ3fn4Hz wUuOIX6g/r4ua8eUamRDXkpv9QHCNRBBhvG4Jrfc0G0HrihacELNVuoIFKuHI50EkT95 LdQXWIYvxEsuLljZNY6W92Ude0ywYhBxEhQYdDS8fmxNfyfX8lO65ups1jtznbTexkjK G/s81Xz1aJ9OKrDo0HwhLjpzgB6AiVfRKSblunl4nmchKl2ZqPDkfGG2fJgU7hN8TXcp 9skQ== X-Received: by 10.194.2.240 with SMTP id 16mr12829089wjx.108.1422627749464; Fri, 30 Jan 2015 06:22:29 -0800 (PST) Received: from [192.168.2.120] (89-104-28-113.customer.bnet.at. [89.104.28.113]) by mx.google.com with ESMTPSA id fo17sm15134433wjc.19.2015.01.30.06.22.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Jan 2015 06:22:28 -0800 (PST) Sender: Michael Wallner Message-ID: <54CB93A3.8090108@php.net> Date: Fri, 30 Jan 2015 15:22:27 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Ferenc Kovacs CC: PHP Internals References: <54CB8AED.8040803@php.net> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [RFC] [DISCUSSION] pecl_http From: mike@php.net (Michael Wallner) On 30/01/15 15:08, Ferenc Kovacs wrote: > > > On Fri, Jan 30, 2015 at 2:45 PM, Michael Wallner > wrote: > >> https://wiki.php.net/rfc/pecl_http > hi, > > just a small question: what will be the upgrade path for existing > pecl_http users upgrading to 7.0? I'd consider PHP7's http extension a new major version, i.e. v3. > if we would just move the current ext as is into php-src it would be no > problem for them, but based on the recent discussion that is unlikely > and if we change the userland api they will be forced to upgrade their > code (except if we are willing to provide a php7 compatible version of > pecl_http on pecl.php.net , but I think that would > be a PITA for everybody). I definitley would stay away from having a separate PHP7 compatible PECL version, but coming v2 releases could take measures to prepare any transition to the PHP7 API. > ofc. this isn't a blocker problem, but something we should keep in mind. Alas, not much has changed so far: - no automatic json_decode() into $_POST: I doubt anybody used that - default etag hash algo for dynamic response bodies has changed to sha1 from crc32 and cannot be changed through an INI setting etags on dynamic content are, well, subject to change anyway, so I don't see major troubles - missing http\QueryString::xlate() This is a real BC break, though. -- Regards, Mike