I thought I understood this but evidently not...  
Consider the following:

$firstVar = "123ABC";

$secondVar &= $firstVar;
$thirdVar = &$firstVar;

echo $secondVar;
echo '<br>';
echo $thirdVar;

When I echo $secondVar, I get '0' but when I echo $thirdVar,
I get the value of $firstVar.

Why?  I thought that "&=" made it so that the left operand was
pointing to the memory location of the right?

Chris



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Reply via email to