class whatever {
public var = 100; // some value
}
$b = new whatever()
$a = & $b; // now both a and b points to the same thing
$c = $b; // acording to the PHP manual found at php.net c will now share the instance of b.
Now this just doesn't make sense since if you do the following: $b = null; then both a and b will not be pointing at anything but c will contenue to do so.
What's the difference here?
http://www.php.net/manual/en/language.oop5.basic.php