Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78075 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7282 invoked from network); 14 Oct 2014 21:56:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Oct 2014 21:56:10 -0000 Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.220.176 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 209.85.220.176 mail-vc0-f176.google.com Received: from [209.85.220.176] ([209.85.220.176:49068] helo=mail-vc0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/C9-18603-8FB9D345 for ; Tue, 14 Oct 2014 17:56:10 -0400 Received: by mail-vc0-f176.google.com with SMTP id hq11so718vcb.21 for ; Tue, 14 Oct 2014 14:56:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:references:in-reply-to:mime-version :thread-index:date:message-id:subject:to:cc:content-type; bh=ZGSwdW3my15Ykju7AXArzIPPhW4p5JauT4mhrooPnWE=; b=D4ZDuBTK/OzEEIsbZuSTcEsG+fFIwf9IGbG5Vo3koJNXOj2dV9+97quhJlYoKA/u37 l32mP+swhNBSEV2OF8fsJ+XiNfscz6vGp9Az5uyecM+EY1rhVCnvSXJqvDT6a+RyYoIp Twuf0imTg/uUwYfNWZSr617m48VcDchskAxoVG/eOeeNE1nza5K1PQnDnJnU07bsxwKi l/KMJ7VHiFJJn3N0/4AywtPuRwHUn2u6f8bE94Li3orUVrKQTNE/tBSogIo15pmtF01m NZ79/JX0aDx9iUTmRXF+YpXAn8gFPzCgpr30IvOR4QOAIPO+tEGofkUd92lWowMT3llW 74YQ== X-Gm-Message-State: ALoCoQlIjavVX4ddhKkj9VVVkefIuDELkuGPDqaLraylM8wwpHv45cmOWwhj4jSAruB2PzguycUlyOhsUaH7AF4TQHkU01MIVGvwwxhpRfSkkZYNiShOHicvbiAGHU15hqXqnF2nfXfuCvPlE4dsOUzthTf9aUOsbw== X-Received: by 10.220.87.203 with SMTP id x11mr4312373vcl.58.1413323765412; Tue, 14 Oct 2014 14:56:05 -0700 (PDT) References: <776669CE-9E8C-4069-9834-C7275CCA0EF4@ajf.me> <8CB055D4-F164-4DF3-B019-684BAE7E016E@ajf.me> <543D47C1.9050009@lerdorf.com> <543D4CE1.5000109@lerdorf.com> <543D6864.10508@gmail.com> <543D85E6.2020507@lerdorf.com> In-Reply-To: MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHKf/+0T7r70lqC2hEAz7oiYNr4fQK5QQe4AjJDKPEBemFznQI4sM5JAkC1wIYBV0DmAgICxRo/AxPwGCUCmDDMxgKO4IFMAfP77sACqMlI/ZtiaDOg Date: Wed, 15 Oct 2014 00:56:04 +0300 Message-ID: <57b7a3681d6c2c7ae123c8921b2d19d6@mail.gmail.com> To: Kris Craig , Rasmus Lerdorf Cc: Rowan Collins , PHP internals list Content-Type: text/plain; charset=UTF-8 Subject: RE: [PHP-DEV] New globals for PUT and DELETE From: zeev@zend.com (Zeev Suraski) > Personally, I like the idea of using more appropriately named aliases, > particularly if they're roughly the same number of characters. However, > we > would need to allow at least several years for people to adopt the new > globals before deprecating $_GET and $_POST. Ultimately, they will either > need to be deprecated or the $_PUT and $_DELETE aliases will need to be > added, otherwise the issue I raised would remain unresolved. Kris, Don't get this the wrong way, but $_GET and $_POST are not going to be deprecated. Whether or not we need $_PUT or $_DELETE is a separate, independent question from the axiom that $_GET and $_POST are here to stay. Personally, I don't think they make sense as Rasmus pointed out that $_GET and $_POST were never about HTTP methods but form methods, and there's really nothing missing from PHP today to enable successful & easy implementation of RESTful interfaces. Zeev