Re: [RFC] Slim POST data (was: PHP-5.6 and $HTTP_RAW_POST_DATA)

From: Date: Tue, 19 Nov 2013 10:22:59 +0000
Subject: Re: [RFC] Slim POST data (was: PHP-5.6 and $HTTP_RAW_POST_DATA)
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-70199@lists.php.net to get a copy of this message
On 19.11.13, 13:46, Michael Wallner wrote: > On 19 November 2013 02:38, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote: >> Hi Julien, >> >> On Mon, Nov 18, 2013 at 10:33 PM, Julien Pauli <jpauli@php.net> wrote: >>> >>> Please, remember that our release process forbidds BC breaks. >>> >>> I suggest reintroducing the feature, together with >>> always_populate_raw_post_data (like the old behavior). >> >> >> What we need is vote for the change? >> >> Mike, could you prepare RFC whether we keep the ini setting or just use >> "input://". >> I think it's time to vote. > > Here you go, https://wiki.php.net/rfc/slim_post_data > Though, with only two supporters, chances are low. We can't break BC in 5.x, so the way to go is: 1. implement underlying changes 2. restore backwards compatibility (HTTP_RAW_POST_DATA should be auto-populated in all cases when it is populated now) 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? 5. remove HTTP_RAW_POST_DATA support in master (thinking about 6.x) -- Alexey Zakhlestin CTO at Grids.by/you https://github.com/indeyets PGP key: http://indeyets.ru/alexey.zakhlestin.pgp.asc

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.internals (#70199) next »