Re: Re: Why does $_REQUEST exist?
| From: | Patrick ALLAERT | Date: | Fri, 15 May 2009 06:01:00 +0000 |
| Subject: | Re: Re: Why does $_REQUEST exist? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43969@lists.php.net to get a copy of this message | ||
2009/5/15 Michael Shadle <mike503@gmail.com>
>
> On Thu, May 14, 2009 at 3:03 PM, Nathan Rixham <nrixham@gmail.com> wrote:
>
> > bc? all the reasoning in the world won't justify it to 1 million businesses
> > running php 4 code which is reliant on $_REQUEST behind the scenes.
> >
> > although it would generate a tonne of freelance work :p
>
> that code has to change for 5.3 or 6.0 anyway.
>
> now is the time to yank out some of the legacy crap. we don't want PHP
> to be like windows, do we?
Hello,
I think Michael's vision is right in this area, maybe bc could just be
achieved having a "register_request" INI parameter that is set by
default to OFF that people just have to enable if they rely on
$_REQUEST.
We could manage it the same way register_globals is:
"This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0"
Patrick