Re: questions about $_SERVER

From: Date: Tue, 13 Mar 2012 22:00:00 +0000
Subject: Re: questions about $_SERVER
Groups: php.general 
Request: Send a blank email to php-general+get-317010@lists.php.net to get a copy of this message
On 13 Mar 2012 at 15:59, Tedd Sperling <tedd.sperling@gmail.com> wrote: > I'm not sure what would have saved bacon in the above case. I don't see how > your example would work. I think it contained a typo. > > In what I think you were trying to demonstrate, I would just pass $x by > reference (&$x) -- or -- return $x by value. I would not have used a global, > > In any event, I seldom use globals anyway. This was more an academic > discussion. As was my example - and yes, it had a typo. Worse, trying it in a shell it doesn't exhibit the failure mode I thought I'd had. Never mind. -- Cheers -- Tim

« previous php.general (#317010) next »