Re: PHP-5.6 and $HTTP_RAW_POST_DATA

From: Date: Fri, 15 Nov 2013 21:58:28 +0000
Subject: Re: PHP-5.6 and $HTTP_RAW_POST_DATA
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-70162@lists.php.net to get a copy of this message
On 15 November 2013 13:34, Ferenc Kovacs <tyra3l@gmail.com> wrote: > On Fri, Nov 15, 2013 at 8:18 AM, Michael Wallner <mike@php.net> wrote: >> >> 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. > > 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=1. That's my understanding too. > I would also like to hear what others think about this. Bottom line: I don't think we should break BC in a minor release. Yes, the API sucks, and hopefully people are already using php://input consistently, but for the sake of one global I don't think we should break people's code until we increment the major number. Adam

« previous php.internals (#70162) next »