Re: Re: PHP 4.0 Bug #5275 Updated: behaviour inconsistency of the `&' operator

From: Date: Thu, 29 Jun 2000 02:01:42 +0000
Subject: Re: Re: PHP 4.0 Bug #5275 Updated: behaviour inconsistency of the `&' operator
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-22706@lists.php.net to get a copy of this message
track_vars is (was) on, at least that's what my php.ini and a phpinfo(); say, but I cannot get HTTP_GET_VARS either...it still shows up a a null array. Really odd On Thu, 29 Jun 2000, Teodor Cimpoesu wrote the following to Bug Database : > Hi Bug! > On Fri, 30 Jun 2000, Bug Database wrote: > > > ID: 5275 > > Updated by: joey > > Reported By: teo@digiro.net > > Status: Feedback > > Bug Type: Scripting Engine problem > > Assigned To: > > Comments: > > > > Are you sure that $HTTP_SESSION_VARS is != null? > > I tried your example on my machine, and HTTP_SESSION_VARS > > was a null array. > probably because you don't have track_vars? > ensure yourself you have least, say, HTTP_GET_VARS and try the same > code on HTTP_GET_VARS instead of HTTP_SESSION_VARS. > > > > I'm not sure what happens if you try to pass a reference to > > a NULL variable... > :) yeah, that's why I had that test, and that's how I reached to > this bug, cause the reference was not the same anymore just because > of an ($<*> != null) && ($this->v = &$<*>) ? > > So, I also reproduced it least w/ GET like > s/session_start();// > s/SESSION/GET/g > > but you must have track_vars I think. > -- teodor > >

« previous php.dev (#22706) next »