On Sun, Aug 17, 2014 at 12:49 PM, David Zuelke <d...@heroku.com> wrote: > That does not make any sense; applications could accept XML, CSV or whatever > else just as well. > > The original proposal is not very useful. $_GET contains parsed query string > info, $_POST contains parsed HTTP request body information if the media type > is application/x-www-urlencoded or multipart/form-data. Deserializing that > makes sense as the rules for it are in the HTTP spec. > > $_PUT/$_BODY/$_DATA would then have to contain the raw body contents, at > least if the media type isn't one of the above, for consistency. That'd saves > the file_get_contents() call, and given how a request handler uses at most > once, I'm not sure such a change is worth it.
I'd say, why not ? The patch should be trivial after all. $_INPUT ? However, I'm not +1 to add this into a revision version. Julien.P -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php