3v4l.org

run code in 300+ PHP versions simultaneously
<?php $marks = array( array ( "0" => 35, "1" => 30, "2" => 39 ), array ( "0" => 30, "1" => 32, "2" => 29 ), array ( "0" => 31, "1" => 22, "2" => 39 ) ); echo '<table style="width:100%"><tr><th>Firstname</th><th>Lastname</th><th>Age</th></tr>'; foreach ($marks as $row){ echo '<tr> <td>'.$row[0].'</td> <td>'.$row[1].'</td> <td>'.$row[2].'</td> </tr>'; } echo '</table>';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 15
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 15
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/CLaqs
function name:  (null)
number of ops:  18
compiled vars:  !0 = $marks, !1 = $row
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   21     1        ECHO                                                     '%3Ctable+style%3D%22width%3A100%25%22%3E%3Ctr%3E%3Cth%3EFirstname%3C%2Fth%3E%3Cth%3ELastname%3C%2Fth%3E%3Cth%3EAge%3C%2Fth%3E%3C%2Ftr%3E'
   22     2      > FE_RESET_R                                       $3      !0, ->15
          3    > > FE_FETCH_R                                               $3, !1, ->15
   24     4    >   FETCH_DIM_R                                      ~4      !1, 0
          5        CONCAT                                           ~5      '%3Ctr%3E%0A++++%3Ctd%3E', ~4
          6        CONCAT                                           ~6      ~5, '%3C%2Ftd%3E%0A++++%3Ctd%3E'
   25     7        FETCH_DIM_R                                      ~7      !1, 1
          8        CONCAT                                           ~8      ~6, ~7
          9        CONCAT                                           ~9      ~8, '%3C%2Ftd%3E%0A++++%3Ctd%3E'
   26    10        FETCH_DIM_R                                      ~10     !1, 2
         11        CONCAT                                           ~11     ~9, ~10
         12        CONCAT                                           ~12     ~11, '%3C%2Ftd%3E%0A++%3C%2Ftr%3E'
         13        ECHO                                                     ~12
   22    14      > JMP                                                      ->3
         15    >   FE_FREE                                                  $3
   29    16        ECHO                                                     '%3C%2Ftable%3E'
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.88 ms | 1393 KiB | 13 Q