open_in_new
content_copy
// Print numbers from 1 to 5 using a while loop $i = 1; while ($i <= 5) { echo $i . " "; $i++; }