On 9 December 2010 18:14, Andrey Hristov <p...@hristov.com> wrote: > the topic says most of it. What do you think about deprecating the global > keyword and $GLOBALS with it? Together with this making $_REQUEST, $_GET and > $_POST read-only as they should be used only to read-only anyway.
-1 here. No question that if you were developing a new language with similar design goals to PHP (but learning from the missteps), you'd probably make the superglobal analogues read only and skip the idea of $GLOBALS altogether, but there's just too much code out there that relies on these "features" working. Adam -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php