References Problem

From: Date: Sat, 22 Dec 2001 11:47:34 +0000
Subject: References Problem
Groups: php.windows 
Request: Send a blank email to php-windows+get-11077@lists.php.net to get a copy of this message
Hi! I've got a problem with references. Here's an example: $a = 5; $b &= $a; // $b == 5 - this part is ok, but $a = new MyObject(5); // $c->value == 5 $d &= $c; // $d->value == NULL, and in fact // $d == NULL How can I have $d point to $c? Regards, Alek Andreev alek@post.com

« previous php.windows (#11077) next »