Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77992 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66773 invoked from network); 14 Oct 2014 13:41:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Oct 2014 13:41:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=mike@mjdugan.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mike@mjdugan.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mjdugan.com from 209.85.192.47 cause and error) X-PHP-List-Original-Sender: mike@mjdugan.com X-Host-Fingerprint: 209.85.192.47 mail-qg0-f47.google.com Received: from [209.85.192.47] ([209.85.192.47:46228] helo=mail-qg0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 81/98-26074-2082D345 for ; Tue, 14 Oct 2014 09:41:22 -0400 Received: by mail-qg0-f47.google.com with SMTP id i50so8382201qgf.34 for ; Tue, 14 Oct 2014 06:41:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version:content-type; bh=WFkLS4q8tnQQS5GruGcnc/rj/pxcAWWRYfErsq3cBAc=; b=fqNBLp0jbZEpnCyYlQapzHWJhK6jFbWx+otjmtOfhs9F9rgE1WcmBRLakIL6j24S7T e7E84P93KTBLjOF9EIQxmIVK74P3nL69BjNq1NZPXiuipIk0L/gfT3M17UOSFG6Qv/s+ ljBN2YOUZf5GBGDNbgohRViunOUvrag8JDs+4uFROwGhKDAaQR+SQTcvmnHWWLc0kKmi CYuAtwhLMFNq5UdFljINLcp7ZUjmTnXU2lT0mIVkHi9+/rotGtuC2hOAxLCP3Bbivy/V RIypMKOFZOmLx2IuJdbaN7pZ/n9abnf0KyQ8IOhko8zWhQ3DJAdHuxJOuounS43PVD0b z0cQ== X-Gm-Message-State: ALoCoQnW0xDr26qR8WfDdITrfMftY06e3hraBLqWJlHf3Yq6qA2kCAyfPxYzyAwQOAPu52D7TMl8 X-Received: by 10.224.6.3 with SMTP id 3mr9353946qax.79.1413294080107; Tue, 14 Oct 2014 06:41:20 -0700 (PDT) Received: from Mikes-iMac.local (c-71-200-126-32.hsd1.md.comcast.net. [71.200.126.32]) by mx.google.com with ESMTPSA id c108sm15440330qgc.23.2014.10.14.06.41.19 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 14 Oct 2014 06:41:19 -0700 (PDT) Date: Tue, 14 Oct 2014 09:41:18 -0400 To: Andrea Faulds , Kristopher Cc: PHP internals list , Andrey Andreev , Kris Craig Message-ID: 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> X-Mailer: Airmail (249) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="543d27fe_625558ec_12d" Subject: Re: [PHP-DEV] New globals for PUT and DELETE From: mike@mjdugan.com (Mike Dugan) --543d27fe_625558ec_12d Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On October 14, 2014 at 9:31:15 AM, Andrea =46aulds (ajf=40ajf.me) wrote: On 14 Oct 2014, at 14:27, Kristopher wrote= :=C2=A0 > =24=5FHTTP=5FREQUEST=5FBODY and =24=5FHTTP=5FQUERY=5FSTRING for nostalg= ia's sake.=C2=A0 Ew, non-superglobals.=C2=A0 But =24=5FREQUEST=5FBODY and =24=5FQUERY=5FSTRING are a bit lengthy. Perh= aps =24=5FQUERY (for =24=5FGET) and =24=5FBODY (for =24=5FPOST)=3F Then t= he variable set finally makes sense, but isn=E2=80=99t too long:=C2=A0 * =24=5FQUERY - query string parameters=C2=A0 * =24=5FBODY - request body parameters=C2=A0 * =24=5FREQUEST - query string and request body parameters=C2=A0 Makes more sense than =24=5FGET and =24=5FPOST.=C2=A0 Any objections=3F=C2=A0 --=C2=A0 Andrea =46aulds=C2=A0 http://ajf.me/=C2=A0 +1 for this. This=C2=A0would hopefully also eliminate the confusion for n= ew developers (or not-so-new developers) who don=E2=80=99t quite understa= nd that =24=5FGET and =24=5FPOST don=E2=80=99t strictly relate to their H= TTP verbs of the same name. -- Mike Dugan mike=40mjdugan.com --=C2=A0 PHP Internals - PHP Runtime Development Mailing List=C2=A0 To unsubscribe, visit: http://www.php.net/unsub.php=C2=A0 --543d27fe_625558ec_12d--