In PHP V4.x, the statements:
$myobject = new Myclass();
$myobject2 = $myobject;
created two completely separate objects; one a copy of the other.$myobject2 = $myobject;
In PHP V5.x, $myobject2 is a reference to $myobject. That is, they point to exactly the same object. Changing one, changes the other.
Man, did that mess me up. I'm going to have to check all of my code now....
mike