3v4l.org

run code in 300+ PHP versions simultaneously
<?php $end=82; //will get all this data from a dabase $rows=ceil($end/8); $x=0; $start=0; ?> <table> <?php while($x<=$rows) { echo "<tr>"; for ($y = 0; $y < 8; $y++, $start++) { if ($start <= $end) echo "<td>$start</td>"; } echo "</tr>"; $x++; } ?> </table>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 10
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 13
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 10
Branch analysis from position: 27
Branch analysis from position: 10
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 19
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 13
Branch analysis from position: 23
Branch analysis from position: 13
Branch analysis from position: 19
filename:       /in/v9B0U
function name:  (null)
number of ops:  29
compiled vars:  !0 = $end, !1 = $rows, !2 = $x, !3 = $start, !4 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 82
    4     1        INIT_FCALL                                               'ceil'
          2        DIV                                              ~6      !0, 8
          3        SEND_VAL                                                 ~6
          4        DO_ICALL                                         $7      
          5        ASSIGN                                                   !1, $7
    5     6        ASSIGN                                                   !2, 0
    6     7        ASSIGN                                                   !3, 0
    8     8        ECHO                                                     '%3Ctable%3E%0A'
   10     9      > JMP                                                      ->25
   11    10    >   ECHO                                                     '%3Ctr%3E'
   12    11        ASSIGN                                                   !4, 0
         12      > JMP                                                      ->21
   13    13    >   IS_SMALLER_OR_EQUAL                                      !3, !0
         14      > JMPZ                                                     ~12, ->19
         15    >   ROPE_INIT                                     3  ~14     '%3Ctd%3E'
         16        ROPE_ADD                                      1  ~14     ~14, !3
         17        ROPE_END                                      2  ~13     ~14, '%3C%2Ftd%3E'
         18        ECHO                                                     ~13
   12    19    >   PRE_INC                                                  !4
         20        PRE_INC                                                  !3
         21    >   IS_SMALLER                                               !4, 8
         22      > JMPNZ                                                    ~18, ->13
   15    23    >   ECHO                                                     '%3C%2Ftr%3E'
   16    24        PRE_INC                                                  !2
   10    25    >   IS_SMALLER_OR_EQUAL                                      !2, !1
         26      > JMPNZ                                                    ~20, ->10
   19    27    >   ECHO                                                     '%3C%2Ftable%3E'
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.33 ms | 937 KiB | 16 Q