Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77987 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59461 invoked from network); 14 Oct 2014 13:29:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Oct 2014 13:29:48 -0000 Authentication-Results: pb1.pair.com header.from=ben@benramsey.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ben@benramsey.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain benramsey.com from 209.85.216.54 cause and error) X-PHP-List-Original-Sender: ben@benramsey.com X-Host-Fingerprint: 209.85.216.54 mail-qa0-f54.google.com Received: from [209.85.216.54] ([209.85.216.54:33075] helo=mail-qa0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E5/E6-26074-B452D345 for ; Tue, 14 Oct 2014 09:29:48 -0400 Received: by mail-qa0-f54.google.com with SMTP id i13so5848632qae.13 for ; Tue, 14 Oct 2014 06:29:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=QQf8IrVmrdSIz7iDKLlI/3REYvm91j0pt2Ryro6LZJE=; b=GP9pYXO2lPpTBrxxop9lTZ4M/l253YVQACTKiJn2AuXSJqtzWVWjnv0Gdi1rBWC4PK Ef3jPcEWMDnkLQaJvmFuRZFBWWbHY7gyvwRNvF4K61GxuAH3mRDeo+NfYyomsZa/K41m /xonu++PBbtaI0JDiATJfT8zz/23AGYZXjWsFBiyB45q577kvd+6JYSuNDUpjNTbhaM8 Yz9M7WxJnXfu3Bl+p5G5E+Z88HXsP8iJeq9QBYSwMVfwfiThT5ro8Z1tlN32BqCfmfa6 QnJZmGshCtokO2/UWtRuxL0zteCwWzEMtxCU97/DnVljnuBACTQ+zLIcm7Yyc6ukl7Gj O2eQ== X-Gm-Message-State: ALoCoQk9Sp3tz/zcXBkdpWtydrI/xzo2pDmnAihIZCUISImkJ+Oa+CKNiJt2GTsKFyUWNa9gl4Oq X-Received: by 10.224.60.135 with SMTP id p7mr8829854qah.97.1413293385365; Tue, 14 Oct 2014 06:29:45 -0700 (PDT) Received: from [10.0.0.70] (c-68-52-228-18.hsd1.tn.comcast.net. [68.52.228.18]) by mx.google.com with ESMTPSA id m8sm15453742qag.25.2014.10.14.06.29.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Oct 2014 06:29:44 -0700 (PDT) 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 08:29:44 -0500 Cc: Andrey Andreev , Kris Craig , PHP internals list Content-Transfer-Encoding: quoted-printable Message-ID: <5B89E769-A2A3-4C35-B79B-271D3D386651@benramsey.com> References: <776669CE-9E8C-4069-9834-C7275CCA0EF4@ajf.me> To: Andrea Faulds X-Mailer: Apple Mail (2.1878.6) Subject: Re: [PHP-DEV] New globals for PUT and DELETE From: ben@benramsey.com (Ben Ramsey) On Oct 14, 2014, at 8:25 AM, Andrea Faulds wrote: > Let=92s add $_REQUEST_BODY and $_QUERY_STRING and make them aliases of = $_GET and $_POST then. Because they=92re aliases (by-reference = superglobals), there=92s no additional memory consumption, but we = finally have saner names. But they are neither the request body nor the query string at that = point. They are arrays that represent them. I agree that $_GET and = $_POST are left-overs from a bygone day. Introducing aliases adds more = confusion, IMHO. -Ben