3v4l.org

run code in 300+ PHP versions simultaneously
<?php $results = [ ["poll_id"=>1,"n"=>0], ["poll_id"=>2,"n"=>0], ["poll_id"=>3,"n"=>0] ]; ?><table> <?php foreach( $results as $row ): ?> <tr><td><?= $row["poll_id"] ?></td><td><?= $row["n"] ?></td></tr> <?php endforeach; ?> </table>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 12
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 12
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/MH9GJ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $results, !1 = $row
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    9     1        ECHO                                                     '%3Ctable%3E%0A'
   10     2      > FE_RESET_R                                       $3      !0, ->12
          3    > > FE_FETCH_R                                               $3, !1, ->12
   11     4    >   ECHO                                                     '++++%3Ctr%3E%3Ctd%3E'
          5        FETCH_DIM_R                                      ~4      !1, 'poll_id'
          6        ECHO                                                     ~4
          7        ECHO                                                     '%3C%2Ftd%3E%3Ctd%3E'
          8        FETCH_DIM_R                                      ~5      !1, 'n'
          9        ECHO                                                     ~5
         10        ECHO                                                     '%3C%2Ftd%3E%3C%2Ftr%3E%0A'
   10    11      > JMP                                                      ->3
         12    >   FE_FREE                                                  $3
   13    13        ECHO                                                     '%3C%2Ftable%3E'
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.3 ms | 1393 KiB | 13 Q