Re: New globals for PUT and DELETE

From: Date: Tue, 14 Oct 2014 13:29:44 +0000
Subject: Re: New globals for PUT and DELETE
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-77987@lists.php.net to get a copy of this message
On Oct 14, 2014, at 8:25 AM, Andrea Faulds <ajf@ajf.me> wrote: > Let’s add $_REQUEST_BODY and $_QUERY_STRING and make them aliases of $_GET and $_POST then. > Because they’re aliases (by-reference superglobals), there’s no additional memory consumption, > but we finally have saner names. But they are neither the request body nor the query string at that point. They are arrays that represent them. I agree that $_GET and $_POST are left-overs from a bygone day. Introducing aliases adds more confusion, IMHO. -Ben

« previous php.internals (#77987) next »