Hi,
I need to create two var who will point to the same instance of an object.
What I tried was this:
$fatherTag=new htmltag ();
$currentTag=$fatherTag;
and this:
$fatherTag=new htmltag ();
$currentTag=new htmltag ();
$currentTag=$fatherTag;
what it did is only copy the values from one intance to the other, I need to be able to change one variable, and see the changes when I use the second var to access the instance of the object.
I use PHP 4.3.10 on XAMPP