"Messju Mohr" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > this creates a reference from $rme to $GLOBALS['rme'] > > > $rme = & $this; > > this create a *new* reference from $rme to $this. so only a local $rme > is referencing $this now. change the line to > > $GLOBALS['rme'] = & $this; > > to get the expected behaviour.
Thank you very much, I was not aware that global $something is just a syntax sugar for reference into the $GLOBALS array. Very spookey indeed, but thanks again :) rush -- http://www.templatetamer.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php