> On Oct 26, 2014, at 5:00 PM, Park Framework <park.framew...@gmail.com> wrote: > > 2014-10-26 23:24 GMT+02:00 Florian Margaine <flor...@margaine.com>: >> I think Rasmus made it clear what the original naming meant: it were form >> methods, not related at all to HTTP methods. > > Yes, this would be logical to have access to the input data, as single > interface, do not make exceptions for POST, input data send methods > PUT, DELETE, must be available in a single global variable, the > variable name is not important > file_get_contents(‘php://input') - uncomfortably
Or, use pecl/http to handle it. GET/POST are form relative while all others are HTTP related. That’s been said quite a few times in this thread. You don’t have to use php://input <php://input>. pecl/http is available. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >