References & multiple assigments

From: Date: Tue, 07 Nov 2000 15:24:08 +0000
Subject: References & multiple assigments
Groups: php.dev 
Request: Send a blank email to php-dev+get-37353@lists.php.net to get a copy of this message
Doing $c = $b = &$a; results in $a & $b being referenced while $c´s not. Shouldn´t the above statement be the same as: $b = &$a; $c = &$a; If not then I think it should be possible to write: $c = &$b = &$a; Currently this generates a parse error. Regards Marten

« previous php.dev (#37353) next »