I think this strikes a good balance between backward compatibility...

I would hope though the code for it is very simple, to not add
overhead to PHP. Basically in PHP the pseudocode equivalent would be

if(ini_get('reigster_request') == true) {
  $_REQUEST = array_merge($_GET, $_POST, $_COOKIE, $_SESSION);
}

On Thu, May 14, 2009 at 11:01 PM, Patrick ALLAERT
<patrick.alla...@gmail.com> wrote:

> 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
>

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to