Re: Deprecating "global" + $GLOBALS, making $_REQUEST, $_GET, $_POST read-only

From: Date: Thu, 09 Dec 2010 21:59:10 +0000
Subject: Re: Deprecating "global" + $GLOBALS, making $_REQUEST, $_GET, $_POST read-only
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-50981@lists.php.net to get a copy of this message
On 12/9/2010 9:53 AM, Andrey Hristov wrote: .
fixing a design flaw of the past, evolution in other words.
Global and $GLOBALS are not a design flaw! They are a carefully thought out technique to insure that you do not shoot your self in the foot by accidentally accessing a global variable from within a function. Rick

« previous php.internals (#50981) next »