PHP-5.6 and $HTTP_RAW_POST_DATA
| From: | Michael Wallner | Date: | Fri, 15 Nov 2013 07:18:15 +0000 |
| Subject: | PHP-5.6 and $HTTP_RAW_POST_DATA | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-70151@lists.php.net to get a copy of this message | ||
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"] =
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?