Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77988 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59877 invoked from network); 14 Oct 2014 13:30:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Oct 2014 13:30:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 198.187.29.245 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 198.187.29.245 imap11-3.ox.privateemail.com Received: from [198.187.29.245] ([198.187.29.245:37460] helo=imap11-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 56/F6-26074-D552D345 for ; Tue, 14 Oct 2014 09:30:06 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id AF79B8800E6; Tue, 14 Oct 2014 09:30:01 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap11.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap11.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MRW7tVYTempg; Tue, 14 Oct 2014 09:30:01 -0400 (EDT) Received: from oa-res-26-28.wireless.abdn.ac.uk (oa-res-26-28.wireless.abdn.ac.uk [137.50.26.28]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id A6FA78800DA; Tue, 14 Oct 2014 09:29:59 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) In-Reply-To: Date: Tue, 14 Oct 2014 14:29:57 +0100 Cc: Andrey Andreev , Kris Craig , PHP internals list Content-Transfer-Encoding: quoted-printable Message-ID: <8CB055D4-F164-4DF3-B019-684BAE7E016E@ajf.me> References: <776669CE-9E8C-4069-9834-C7275CCA0EF4@ajf.me> To: Kristopher X-Mailer: Apple Mail (2.1878.6) Subject: Re: [PHP-DEV] New globals for PUT and DELETE From: ajf@ajf.me (Andrea Faulds) On 14 Oct 2014, at 14:27, Kristopher 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=92t 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? -- Andrea Faulds http://ajf.me/