Page 1 of 1

OOP =&

Posted: Sun Oct 02, 2005 9:10 am
by mickd
hi, i was wondering what the difference between

Code: Select all

$variable =& new ClassName();
and

Code: Select all

$variable = new ClassName();
similarly, whats the difference between

Code: Select all

$a = 'blah';
$a =& $b;
and

Code: Select all

$a = 'blah';
$b = $a;
wouldnt $a and $b be the same in both cases?

thanks.

Posted: Sun Oct 02, 2005 10:38 am
by John Cartwright

Posted: Sun Oct 02, 2005 12:50 pm
by feyd