<<< Previous question <<< Question ID#0341.md >>> Next question >>>
What is the output of the following PHP script?
for ($i = 5; ; $i++) {
if ($i < 10) {
break;
}
}
echo $i;
Enter the exact script output
- A) 5
- B) 12345
- C) null
- D) an error
Answer
Answer: A