Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70161 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65492 invoked from network); 15 Nov 2013 21:42:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Nov 2013 21:42:18 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.51 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.128.51 mail-qe0-f51.google.com Received: from [209.85.128.51] ([209.85.128.51:51618] helo=mail-qe0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 53/00-65134-83596825 for ; Fri, 15 Nov 2013 16:42:17 -0500 Received: by mail-qe0-f51.google.com with SMTP id t7so2585133qeb.38 for ; Fri, 15 Nov 2013 13:42:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Tbj99K08+PLy7Q2Edm4nrF9msVMb0R1oLRi/W6IJu6k=; b=YUT3RYEjp1yVcoznwcpqScF0O2XbfxV6mUzXHo361naN909iysCQ5ZMxoFYckSC18u QSszoIhOuBVf9juEZFj7ZzwmLNyD/yJ7rmpQUt2I2IaI//vtqU0jKGojgmMXWcdzrHSy nZq4fy1QWkZRGXGqkneEs44j34lQtnos0EXhBIQt1Q+ZMVHDxnj8BR3yjYL1UP89YrsS KyfCAs/4yzACXnrNht3dQW1aFo2wIsoOtgErINWX4Z5JaTfekm9rJtv26K11rWndvcIV QvBRdOQoh0re92LCHAOVkEOeQycyeoGhG5k6Y6YL0SUF2oDreJbO8a4NuZb+kB/Mycvv icWA== MIME-Version: 1.0 X-Received: by 10.49.103.161 with SMTP id fx1mr14084642qeb.68.1384551258677; Fri, 15 Nov 2013 13:34:18 -0800 (PST) Received: by 10.140.37.201 with HTTP; Fri, 15 Nov 2013 13:34:18 -0800 (PST) In-Reply-To: References: Date: Fri, 15 Nov 2013 22:34:18 +0100 Message-ID: To: Michael Wallner Cc: PHP Internals Content-Type: multipart/alternative; boundary=047d7b2e466af28b9404eb3df59d Subject: Re: [PHP-DEV] PHP-5.6 and $HTTP_RAW_POST_DATA From: tyra3l@gmail.com (Ferenc Kovacs) --047d7b2e466af28b9404eb3df59d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Nov 15, 2013 at 8:18 AM, Michael Wallner wrote: > Hi there! > > There seem to be concerns about the removal of $HTTP_RAW_POST_DATA in > PHP-5.6. Nobody mentioned it would be an unacceptable BC break in the > discussions of the POST data temp stream feature, so I was a bit > surprised when it came up. > > Anyway, what's the opnion on that? For me it is a non-issue, because BC > can be restored with one line ($GLOBALS["HTTP_RAW_POST_DATA"] =3D > file_get_contents("php://input")). > But I could probably re-add the always_populate_raw_post_data INI setting > and do more or less what the one-liner does internally. > > Thoughts? > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Hi, As it was created against master BC concerns wasn't raised, and without a proper RFC it wasn't clear which release would you target with the change. Even thought that the 5.6 branch was created from master for the sake of the sanity of the RMs(branching from 5.5 and cherrypicking from master would have been a huge effort), the rules of the https://wiki.php.net/rfc/releaseprocess still applies. I agree that this is a measurable improvements for most of our users, and restoring the old behavior is relatively simple, so if everybody else would support getting it into 5.6, I could accept that. But I don't like the fact that we have something without following the standard RFC and voting procedure in a release branch which by definition of our accepted release process shouldn't be there. From my understanding, reintroducing always_populate_raw_post_data would still not guarantee 100% BC, as in most cases $HTTP_RAW_POST_DATA would still be populated previously without the need of setting always_populate_raw_post_data=3D1. It would just allow to restore the old behavior without the need of changing the code of the affected application (which is better, but it is still a BC break). I would also like to hear what others think about this. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --047d7b2e466af28b9404eb3df59d--