Q. What will be the output?
Code:echo (int) '010';
β
Correct Answer: (A)
10
Explanation: String cast ignores octal, returns decimal 10.
echo (int) '010';