Q. What will be the output?
Code:
$a = 'abc'; $b = &$a; $b = 'xyz'; echo $a;
β
Correct Answer: (B)
xyz
Explanation: Reference assignment updates original variable.