Re: New globals for PUT and DELETE

From: Date: Tue, 14 Oct 2014 14:09:58 +0000
Subject: Re: New globals for PUT and DELETE
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-78009@lists.php.net to get a copy of this message
On October 14, 2014 at 10:07:26 AM, Park Framework (park.framework@gmail.com) wrote: 2014-10-14 16:29 GMT+03:00 Andrea Faulds <ajf@ajf.me>:  >  > On 14 Oct 2014, at 14:27, Kristopher <kristopherwilson@gmail.com> wrote:  >  >> $_HTTP_REQUEST_BODY and $_HTTP_QUERY_STRING for nostalgia's sake.  >  > Ew, non-superglobals.  >  > But $_REQUEST_BODY and $_QUERY_STRING are a bit lengthy. Perhaps $_QUERY (for $_GET) and $_BODY > (for $_POST)? Then the variable set finally makes sense, but isn’t too long:  >  > * $_QUERY - query string parameters  > * $_BODY - request body parameters  > * $_REQUEST - query string and request body parameters  >  > Makes more sense than $_GET and $_POST.  >  > Any objections?  +1  I RESTful a developer, agree this proposal!  I hope someone will write the RFC and vote for it, it is necessary to  move from words to deeds.  --  PHP Internals - PHP Runtime Development Mailing List  To unsubscribe, visit: http://www.php.net/unsub.php  If no one else is already working on it, I can write one up this morning/early this afternoon and submit it. — Mike Dugan mike@mjdugan.com

« previous php.internals (#78009) next »