Hi,

Is it possible to keep a pointer to an object in a PHP variable? I'd like to
do this :

$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.

Thanks a lot,
Denis...