Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44028 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20984 invoked from network); 18 May 2009 19:39:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 May 2009 19:39:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.198.232 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.198.232 rv-out-0506.google.com Received: from [209.85.198.232] ([209.85.198.232:56100] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 68/D2-05315-889B11A4 for ; Mon, 18 May 2009 15:39:54 -0400 Received: by rv-out-0506.google.com with SMTP id g37so1536632rvb.23 for ; Mon, 18 May 2009 12:39:50 -0700 (PDT) Received: by 10.141.84.21 with SMTP id m21mr2458457rvl.98.1242675590316; Mon, 18 May 2009 12:39:50 -0700 (PDT) Received: from trainburn-lm.corp.yahoo.com (trainburn-lm.corp.yahoo.com [207.126.233.11]) by mx.google.com with ESMTPS id k41sm14447600rvb.17.2009.05.18.12.39.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 18 May 2009 12:39:49 -0700 (PDT) Message-ID: <4A11B983.5070304@lerdorf.com> Date: Mon, 18 May 2009 12:39:47 -0700 User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: jani.taskinen@iki.fi CC: Michael Shadle , PHP Development References: <4A0C9516.8060808@gmail.com> <4A0D2648.3050802@lerdorf.com> <4A11489C.6060101@cschneid.com> <4A119AE8.8060803@sci.fi> In-Reply-To: <4A119AE8.8060803@sci.fi> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Why does $_REQUEST exist? From: rasmus@lerdorf.com (Rasmus Lerdorf) Jani Taskinen wrote: > Michael Shadle wrote: >> On Mon, May 18, 2009 at 4:38 AM, Christian Schneider >> wrote: >> >>> There's a big difference between changing some rare features (and no, >>> 5.3 needs - almost no to - no changes with the code bases I know) and >>> removing something *everybody* uses. >>> >>> Apart from the fact that _REQUEST is not evil per se, the new setting >>> request_order turns it into something sane again... >>> >>> So please let's end (at least the public) discussion here ;-) >> >> Not *everybody* uses it. >> >> a) Once again I'll use python as an example, you -can- break backwards >> compatibility to finally break free of certain stigmas > > PHP != Python. PHP has lot more users. ;) > >> b) Would it be possible to tweak request_order so if it is blank, it >> does not even create $_REQUEST? That I suppose would be good enough >> for me. > > Just leave request_order empty in your php.ini and $_REQUEST will be > empty. Now, please stop spamming the list about this issue. I think it defaults back to variables_order if you do that actually, but you could set it to just "G" and then $_REQUEST will be the same as $_GET which should also be fine for people who don't like to mix them. -Rasmus