While Loop
The while loop executes a block of code as long as the specified condition is true.
$i = 1; 
  while ( $i < 40 ) {
    echo "I am " . $i . " years old" . "\n";
    $i ++;
}
by Elena Kuparadze
2 years ago
PHP
Loop
0
Pro tip: use ```triple backticks around text``` to write in code fences