3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "<table>"; for($k=0;$k<7;$k++){ // k goes from 0-7 echo "<tr>"; echo "<td>" . $teamtotal . "</td></tr>"; $teamtotal = 0; } echo "</table>";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 3
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 3
Branch analysis from position: 11
Branch analysis from position: 3
filename:       /in/E7ccC
function name:  (null)
number of ops:  13
compiled vars:  !0 = $k, !1 = $teamtotal
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     '%3Ctable%3E'
    3     1        ASSIGN                                                   !0, 0
          2      > JMP                                                      ->9
    4     3    >   ECHO                                                     '%3Ctr%3E'
    6     4        CONCAT                                           ~3      '%3Ctd%3E', !1
          5        CONCAT                                           ~4      ~3, '%3C%2Ftd%3E%3C%2Ftr%3E'
          6        ECHO                                                     ~4
    7     7        ASSIGN                                                   !1, 0
    3     8        PRE_INC                                                  !0
          9    >   IS_SMALLER                                               !0, 7
         10      > JMPNZ                                                    ~7, ->3
    9    11    >   ECHO                                                     '%3C%2Ftable%3E'
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.17 ms | 1393 KiB | 13 Q