"Denis Crespe" <aa.com> wrote in message
news:bnh2mc$1p2$1news.tiscali.fr...you can not get the pointer, but you can get the reference:> $obj1 = new myClass(...);
> $obj2 = $obj1;
> $obj1->name = "foo";
> $obj2->name = "bar";
> echo $obj1->name;
> Which would display "bar" instead of "foo" with the current PHP behavior.
$obj2 = & $obj1;