Q. What will be the output?
$a = 5;
$b = 10;
echo $a + $b;
Code:
$a = 5;
$b = 10;
echo $a + $b;
$a = 5; $b = 10; echo $a + $b;
β
Correct Answer: (B)
15
Explanation: The + operator performs arithmetic addition.