Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78006 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87398 invoked from network); 14 Oct 2014 14:06:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Oct 2014 14:06:56 -0000 Authentication-Results: pb1.pair.com header.from=park.framework@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=park.framework@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.52 as permitted sender) X-PHP-List-Original-Sender: park.framework@gmail.com X-Host-Fingerprint: 209.85.218.52 mail-oi0-f52.google.com Received: from [209.85.218.52] ([209.85.218.52:44417] helo=mail-oi0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D6/B0-18603-FFD2D345 for ; Tue, 14 Oct 2014 10:06:56 -0400 Received: by mail-oi0-f52.google.com with SMTP id a3so16621393oib.11 for ; Tue, 14 Oct 2014 07:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=WnaW/jVPdBPCDnFsTiZiqZrYXjVSFZVjYmDha4mon00=; b=HA79GzPgDj4TjbabFRUGAbdu9euQWQydOSwGyuYLtY/+Q3r5wba4trAzQRTL2m1lk+ Qm2Rm/B/cIMwxICSmyX0F6NX1z62rQuZRahNvTSNqsPBQBVmmiZYS3tCrgKVo8md7SD8 /YYHV+jzBG8G3YgtQR+9i+oTwTIuEjw+j4TNwGqBPiVbLRcbKIPFR5/Aa99WFXZf+PXq 5EzYwGqpMoeGYRrc6rYYyJB5jsEsbl2j4f1Hi27yoczzjP6USloz3aghekfvzONi3nKt gu6F7Es/MKeX0jklC+k1/Oo9gAyciqcuH5OXC0usuCc3/i6KXhMgs79e4Ct/+QkPDkI5 kOQA== MIME-Version: 1.0 X-Received: by 10.60.146.171 with SMTP id td11mr4662110oeb.23.1413295123672; Tue, 14 Oct 2014 06:58:43 -0700 (PDT) Received: by 10.76.23.37 with HTTP; Tue, 14 Oct 2014 06:58:43 -0700 (PDT) In-Reply-To: <8CB055D4-F164-4DF3-B019-684BAE7E016E@ajf.me> References: <776669CE-9E8C-4069-9834-C7275CCA0EF4@ajf.me> <8CB055D4-F164-4DF3-B019-684BAE7E016E@ajf.me> Date: Tue, 14 Oct 2014 16:58:43 +0300 Message-ID: To: Andrea Faulds Cc: Kristopher , Andrey Andreev , Kris Craig , PHP internals list Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] New globals for PUT and DELETE From: park.framework@gmail.com (Park Framework) 2014-10-14 16:29 GMT+03:00 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 se= nse, but isn=E2=80=99t 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.