Q. What will be the output?
Code:$a = 5;
function test($a) {
$a = 10;
}
test($a);
echo $a;
β
Correct Answer: (A)
5
Explanation: Passed by value, original variable unchanged.