Q. What will be the output?
Code:
echo '5' + '5abc';
β
Correct Answer: (A)
10
Explanation: PHP extracts numeric value and performs addition.
echo '5' + '5abc';
Explanation: PHP extracts numeric value and performs addition.