Re: Using $HTTP_SESSION_VARS with register_globals On
| From: | Jon Parise | Date: | Tue, 22 May 2001 02:15:06 +0000 |
| Subject: | Re: Using $HTTP_SESSION_VARS with register_globals On | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-56166@lists.php.net to get a copy of this message | ||
On Mon, May 21, 2001 at 05:02:03PM -0500, Andrei Zmievski wrote:
> > I guess logically we should make the global variable take precedence and
> > perhaps even export any changes to $HTTP_SESSION_VARS into the global
> > symbol table. Somewhat magical, but what else can we do here? I really
> > don't think we can live with the current situation.
>
> As I mentioned in my other message, $HTTP_SESSION_VARS value and the
> global value used to be references, but after some people complained
> about this fact on the list, it was changed.. I wouldn't mind
> reinstating it, but if we do, let's do it once and for all with very
> good reasons to avoid another such occurrence.
That approach gets my vote, too. As one who has lived through
scoping hell along with Chuck, I'm all for making this part of
PHP friendlier and, at the very least, more consistent.
--
Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/ : Computer Science House
Member