+ 3
PHP begainers Problems
plz, help me to understand this code am new in PHP and sorry for bad English. <?php $x=0; while ( $x<= 10) { $x++;echo $x; } ?>
1 Answer
+ 4
This is a do-while loop. This kind of loops iterated until a special case is evaluated to false (the statement inside braces).
So finally the output is numbers from 1 to 11
https://www.sololearn.com/learn/PHP/1825/