Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70200 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9458 invoked from network); 19 Nov 2013 10:48:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Nov 2013 10:48:47 -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.217.171 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 209.85.217.171 mail-lb0-f171.google.com Received: from [209.85.217.171] ([209.85.217.171:49976] helo=mail-lb0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CC/52-22480-D024B825 for ; Tue, 19 Nov 2013 05:48:46 -0500 Received: by mail-lb0-f171.google.com with SMTP id q8so4692573lbi.16 for ; Tue, 19 Nov 2013 02:48:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=LmdLfK7ErAOgj4zj6+m226VldD4yA5Qb2tWS3VFdVHU=; b=lZG+/qPop2GAtSqAl8JI6qLniWk0mecOiou5cmsMwIT9pvFlSfDnR8RZ4VLqucykHx P7pQfjcFk/iimX3mpkRJGBgv/v5nWAtr908rjKWh9hOtG3XJqKrv/np32Oo4vazBViVr 8UQLetLRj3H6GV0Ju1k0dSA8YNZ61/hjn1MS57uPA3P5Zk8eU/G5a8DddeoRNgAXOTj2 CUjA+P8bxNi0qjyQCG5aGFrfIjzP4fshyw0EfIM0AznpeYF85+EKopRjbIRFSrk5cnvQ 1Wp2btmsHql9EVZwRM+1wWq+GrnDtzUvXJt5ZikSYRqCerMbuTlkWKnqet4YJ5QJsD8b gHdA== MIME-Version: 1.0 X-Received: by 10.152.170.133 with SMTP id am5mr18612990lac.9.1384858121629; Tue, 19 Nov 2013 02:48:41 -0800 (PST) Sender: mike.php.net@gmail.com Received: by 10.114.184.19 with HTTP; Tue, 19 Nov 2013 02:48:41 -0800 (PST) In-Reply-To: <528B3C03.5090804@gmail.com> References: <528B3C03.5090804@gmail.com> Date: Tue, 19 Nov 2013 11:48:41 +0100 X-Google-Sender-Auth: u2OHW43ZDPW6Zy4ghPb7M5m-6ME Message-ID: To: Alexey Zakhlestin Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Slim POST data (was: PHP-5.6 and $HTTP_RAW_POST_DATA) From: mike@php.net (Michael Wallner) On 19 November 2013 11:22, Alexey Zakhlestin wrote: > We can't break BC in 5.x, so the way to go is: > > 1. implement underlying changes It already is in master since a few weeks. > 2. restore backwards compatibility (HTTP_RAW_POST_DATA should be > auto-populated in all cases when it is populated now) That defeats the entire change. > 3. always_populate_raw_post_data should be introduced for BC purposes > > 4. Is it possible to detect usage of HTTP_RAW_POST_DATA and give > E_DEPRECATED while doing so? AFAICS no, it is a standard global variable. > 5. remove HTTP_RAW_POST_DATA support in master (thinking about 6.x) It already is in master. -- Regards, Mike