Re: RFE: $HTTP_POST_VARS =& $_POST;

From: Date: Fri, 25 Jan 2002 02:50:35 +0000
Subject: Re: RFE: $HTTP_POST_VARS =& $_POST;
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-78059@lists.php.net to get a copy of this message
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. 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? -- Yasuo Ohgaki

Thread (17 messages)

« previous php.dev (#78059) next »