0
php related question
I don't know what output results from the following code. I do not know what, and most importantly why. Please, help me. $x = 0; while($x<=7) { $x++; } echo $x;
3 Respostas
+ 1
"I don't know what output results from the following code."
You can test run the code in Code Playground to find out about code output
"I do not know what, and most importantly why."
I would suggest you to review the lesson about loops, the while-loop in particular. If you have reviewed the loop chapter and still not understanding it, come back here and explain which part of it is troubling you. Me or someone else will try to assist by then. But try to review the lesson first, for now 👍
+ 1
Thank you, Ipang. I didn't guess to use the Code Playground. It helped.
0
I'm glad to hear that Jacob 👍