On 14/10/14 15:20, Ben Ramsey wrote: > I suppose we could make a super global that returns that for us, but it’s > just as easy to > use the above. Additionally, you might not want to put the full body of the > request into > memory like that. You might rather read the stream only a few bytes at a time.
We just got rid of $HTTP_RAW_POST_DATA in 5.6 and php://input is a re-usable temp stream now. Regarding all other topics, have a look at pecl_http v2: http://devel-m6w6.rhcloud.com/mdref/http And just a reminder: https://wiki.php.net/rfc/pecl_http -- Regards, Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php