3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.36 ms | 1399 KiB | 15 Q