fork download
  1. <?php
  2.  
  3. $opName = 'another one';
  4. for ($x = 1; $y = $x * $x <= 81; $x++) {
  5. echo "$x x $x = $y $opName\n";
  6. }
Success #stdin #stdout 0s 82560KB
stdin
Standard input is empty
stdout
1 x 1 = 1 another one
2 x 2 = 1 another one
3 x 3 = 1 another one
4 x 4 = 1 another one
5 x 5 = 1 another one
6 x 6 = 1 another one
7 x 7 = 1 another one
8 x 8 = 1 another one
9 x 9 = 1 another one