Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78015 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 384 invoked from network); 14 Oct 2014 14:25:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Oct 2014 14:25:06 -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:62944] helo=mail-qg0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 70/A3-18603-2423D345 for ; Tue, 14 Oct 2014 10:25:06 -0400 Received: by mail-qg0-f47.google.com with SMTP id i50so8377547qgf.6 for ; Tue, 14 Oct 2014 07:25:03 -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=L9yZeoj2Z2cotXXgmyBqDW22iN41V6L3q7r7T9uLcbc=; b=ji8Ai7TVqNWB0594c5wI0AeSu/nbbnG0XcZmFNzFDAGkV2452TH1F99zcIm0lEJ1u1 ettguSZA0GkdDFQNianTMtY7gXqaXVXwA+FOC8xRMjAR8tPEa50lTGngpgBgIz5Ovnzj cw8iNVXpcCwBdDs76KXM8BS5hENBXpH7OsWONvGQBM3gfFUEsIYM1E+aOXs2inNN/EpM zcmbX/QP7MdfslL/Nmb93Tv65m1G03Eb2+rbwTvJItsFuCa15oDU8pJKf+edW/krr/qt TyvZ6K6XQeE4o9T0Ss3aQeyrZ2mJcYKqiTluwTH/wMXQ1UZ1VF7jHK42i05SfE/55Adx YO3w== X-Gm-Message-State: ALoCoQlSV02tgsB2DatX4TJOXwueOPWCy9PEvOKoOaZxJWVGwLijyfJlVTQQgn93JeuiZN0DtvMc X-Received: by 10.229.7.133 with SMTP id d5mr9923642qcd.24.1413296703580; Tue, 14 Oct 2014 07:25:03 -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 h79sm14444562qgd.27.2014.10.14.07.25.02 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 14 Oct 2014 07:25:03 -0700 (PDT) Date: Tue, 14 Oct 2014 10:25:02 -0400 To: Ben Ramsey Cc: Andrea Faulds , Kris Craig , Andrey Andreev , Chris Wright , PHP internals list Message-ID: In-Reply-To: References: <776669CE-9E8C-4069-9834-C7275CCA0EF4@ajf.me> <4240E494-94E6-4FC9-BB84-C30FFA69129C@benramsey.com> <69EB8F97-7CFC-44E0-8B2D-C2230ADAC87F@ajf.me> X-Mailer: Airmail (249) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="543d323e_5bd062c2_12d" Subject: Re: [PHP-DEV] New globals for PUT and DELETE From: mike@mjdugan.com (Mike Dugan) --543d323e_5bd062c2_12d Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On October 14, 2014 at 10:21:34 AM, Ben Ramsey (ben=40benramsey.com) wrot= e: On Oct 14, 2014, at 9:08 AM, Mike Dugan wrote: =20 > On October 14, 2014 at 10:04:00 AM, Andrea =46aulds (ajf=40ajf.me) wrot= e: =20 >> =20 >> =20 >> So =24=5FQUERY and =24=5F=46ORM, then. That sounds about right. =20 >> =20 > =20 > Did I just name a global variable=3F W00t=21 =20 > =20 > Anyhow, yeah neither one is technically 100% correct, but like Andrea s= aid, the majority of usage will be from forms and query strings with para= meters. At any rate, it=E2=80=99s makes more sense semantically in the co= ntext of what the var actually contains than =24=5FGET and =24=5FPOST eve= r will. =20 > =20 +1 =20 I=E2=80=99m cool with =24=5FQUERY and =24=5F=46ORM. They make much more s= ense and don=E2=80=99t try to use HTTP verbs, which can confuse the conte= nt and semantics of the data they contain. Plus, they would just alias =24= =5FGET and =24=5FPOST, respectively, right=3F =20 -Ben =20 That=E2=80=99s my understanding. There=E2=80=99s also some discussion abo= ut deriving data from =24=5FPOST/=24=5F=46ORM that is intended for use wi= th other HTTP verbs, I=E2=80=99m still trying to ascertain exactly what w= as in mind there (Andrea I think you suggested that=3F) --=C2=A0 Mike Dugan mike=40mjdugan.com --543d323e_5bd062c2_12d--