Zend
200-530 · Question #451
Mark works as a Web Application Developer for Blue Solutions Inc. He writes the following code: <?php $x =25; while($x<10) { $x--; } print ($x); ?> What will be the output when Mark tries to compile…
The correct answer is B. 25. See the full explanation below for the reasoning.
Question
Mark works as a Web Application Developer for Blue Solutions Inc. He writes the following code: <?php $x =25; while($x<10) { $x--; } print ($x); ?> What will be the output when Mark tries to compile and execute the code?
Options
- A10
- B25
- CThe script will throw an error message.
- D0
How the community answered
(30 responses)- A7% (2)
- B70% (21)
- C3% (1)
- D20% (6)
Community Discussion
No community discussion yet for this question.