Q. What will be the output?
Code:
$a = 10; $b = '20abc'; echo $a + $b;
β
Correct Answer: (A)
30
Explanation: PHP extracts numeric part and performs addition.