Question from the PHP - Fundamentals test

Print the numbers from 1 to 10 using the do while loop in PHP

Hard

What is the output of the following code ?

$x = 0;
do {
	echo ++$x;
	echo $x++;
	echo " ";
} while ($x < 10)
Author: ThéoStatus: PublishedQuestion passed 415 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!