Is this, or is this not a bug:
class A { var $a; }
$A = new A; $A->a = array(1); $array = &$A->a; $clone = clone $A; $clone->a = array(); //Affects a in $A.
print_r($A);
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php