Re: New globals for PUT and DELETE

From: Date: Tue, 14 Oct 2014 16:43:44 +0000
Subject: Re: New globals for PUT and DELETE
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-78034@lists.php.net to get a copy of this message
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

« previous php.internals (#78034) next »