On Fri, 25 Jan 2002, Yasuo Ohgaki wrote:

> Rasmus Lerdorf wrote:
> > I think the real answer here is to treat these as read-only arrays.  ie.
> > never use them on the left side of the '=' and you will never run into
> > problems.  Or if you do, be consistent and use the same array all the
> > time.  You are writing your code with the assumption that these two arrays
> > are the same.  Where does this assumption come from?  Hopefully not the
> > documentation.
> >
> > -Rasmus
> >
>
> What is the reason for separating $HTTP_*_VARS and $_*?
>
> For memory wise, if $HTTP_+_VARS and $_* points to the same hash it
> would be nicer.

The values in these two hashes are shared already I think, and only IF you
change a member of those hashes, the value is copied. (copy-on-write
principle).

>
> Are we going to depreciate long track vars?
> Does anyone mind if I add ini option "long_track_vars" to turn on and
> off long track vars?

Why do we need it?

Derick

---------------------------------------------------------------------
        PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
             SRM: Site Resource Manager - www.vl-srm.net
---------------------------------------------------------------------


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to