On 14 Oct 2014, at 13:47, Kris Craig <kris.cr...@gmail.com> wrote: > Hey guys, > > Does anybody know why we have $_GET and $_POST, but not $_PUT and > $_DELETE? As far as I can tell, the only way to get these out currently is > to parse their values by reading the incoming stream directly. > > Is there a reason why we don't want this or is it just that nobody has > actually written it yet?
$_GET and $_POST are really misnomers. $_GET is query string parameters, $_POST is request body data. We should just put the request bodies for all requests, not just POST, into $_POST. -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php