3v4l.org

run code in 300+ PHP versions simultaneously
<table style='width:100%'> <?php if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { ?> <tr> <th><?= $row['placement']; ?></th> <th><?= $row['team']; ?></th> <th><?= $row['played']; ?></th> <th><?= $row['won']; ?></th> <th><?= $row['tied']; ?></th> <th><?= $row['loss']; ?></th> <th><?= $row['goaldifference']; ?></th> <th><?= $row['points']; ?></th> </tr> <br><br> <?php } } ?> </table>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 34
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
2 jumps found. (Code = 44) Position 1 = 34, Position 2 = 5
Branch analysis from position: 34
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 34, Position 2 = 5
Branch analysis from position: 34
Branch analysis from position: 5
Branch analysis from position: 34
filename:       /in/6Kskq
function name:  (null)
number of ops:  36
compiled vars:  !0 = $result, !1 = $row
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Ctable+style%3D%27width%3A100%25%27%3E%0A'
    3     1        FETCH_OBJ_R                                      ~2      !0, 'num_rows'
          2        IS_SMALLER                                               0, ~2
          3      > JMPZ                                                     ~3, ->34
    5     4    > > JMP                                                      ->30
    7     5    >   ECHO                                                     '%0A+++%3Ctr%3E%0A+++++++%3Cth%3E'
    9     6        FETCH_DIM_R                                      ~4      !1, 'placement'
          7        ECHO                                                     ~4
          8        ECHO                                                     '%3C%2Fth%3E%0A+++++++%3Cth%3E'
   10     9        FETCH_DIM_R                                      ~5      !1, 'team'
         10        ECHO                                                     ~5
         11        ECHO                                                     '%3C%2Fth%3E%0A+++++++%3Cth%3E'
   11    12        FETCH_DIM_R                                      ~6      !1, 'played'
         13        ECHO                                                     ~6
         14        ECHO                                                     '%3C%2Fth%3E%0A+++++++%3Cth%3E'
   12    15        FETCH_DIM_R                                      ~7      !1, 'won'
         16        ECHO                                                     ~7
         17        ECHO                                                     '%3C%2Fth%3E%0A+++++++%3Cth%3E'
   13    18        FETCH_DIM_R                                      ~8      !1, 'tied'
         19        ECHO                                                     ~8
         20        ECHO                                                     '%3C%2Fth%3E%0A+++++++%3Cth%3E'
   14    21        FETCH_DIM_R                                      ~9      !1, 'loss'
         22        ECHO                                                     ~9
         23        ECHO                                                     '%3C%2Fth%3E%0A+++++++%3Cth%3E'
   15    24        FETCH_DIM_R                                      ~10     !1, 'goaldifference'
         25        ECHO                                                     ~10
         26        ECHO                                                     '%3C%2Fth%3E%0A+++++++%3Cth%3E'
   16    27        FETCH_DIM_R                                      ~11     !1, 'points'
         28        ECHO                                                     ~11
         29        ECHO                                                     '%3C%2Fth%3E%0A+++%3C%2Ftr%3E%0A%0A%3Cbr%3E%3Cbr%3E%0A'
    5    30    >   INIT_METHOD_CALL                                         !0, 'fetch_assoc'
         31        DO_FCALL                                      0  $12     
         32        ASSIGN                                           ~13     !1, $12
         33      > JMPNZ                                                    ~13, ->5
   24    34    >   ECHO                                                     '%3C%2Ftable%3E'
         35      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.78 ms | 1399 KiB | 13 Q