On 13 Mar 2012 at 15:59, Tedd Sperling <tedd.sperl...@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

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to