Re: [RFC] Slim POST data (was: PHP-5.6 and $HTTP_RAW_POST_DATA)
| From: | Michael Wallner | Date: | Tue, 19 Nov 2013 10:48:41 +0000 |
| Subject: | Re: [RFC] Slim POST data (was: PHP-5.6 and $HTTP_RAW_POST_DATA) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-70200@lists.php.net to get a copy of this message | ||
On 19 November 2013 11:22, Alexey Zakhlestin <indeyets@gmail.com> 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