Re: New globals for PUT and DELETE

From: Date: Tue, 14 Oct 2014 13:25:45 +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-77985@lists.php.net to get a copy of this message
On 14 Oct 2014, at 14:23, Andrey Andreev <narf@devilix.net> wrote: > That being said, from a purely semantic prospective, both $_GET and > $_POST should be tossed - yes. In reality, you can't do that because > virtually all PHP applications use them. But this is no reason to add > even more global vars with such misleading ... meanings. 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. -- Andrea Faulds http://ajf.me/

« previous php.internals (#77985) next »