Hello, "Chris Boget" <[EMAIL PROTECTED]> wrote:
> Ok, let me see if I have this right: > > When you do: > > $var = new myClass(); > > $var instantiates and holds a copy of myClass. But when > you do: > > $var =& new myClass(); > > $var instantiates and references that instantiation? > > If so, then I'm curious - if you do: > > $var2 =& new myClass(); > Perhaps, you meant: $var2 =& $var; Then changing something in $var2 will also change it in $var, no? - E ...[snip]... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php