Q. What will be the output?
Code:
for($i = 1; $i <= 3; $i++) {
echo $i;
}
β
Correct Answer: (A)
123
Explanation: Loop runs from 1 to 3.