3v4l.org

run code in 300+ PHP versions simultaneously
<?php $names = array("John","Harry","Sam","Jake","Frank","Robert","Henry","Al"); $td = 1; echo "<table border='1' cellpadding='10' cellspacing='10'>"; echo "<tr>"; foreach($names AS $value) { echo "<td>".$value."</td>"; $td++; if($td >= 4){ echo "</tr>"; $td = 1; } } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 15
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 15
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 14
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/ngrWM
function name:  (null)
number of ops:  17
compiled vars:  !0 = $names, !1 = $td, !2 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 1
    5     2        ECHO                                                     '%3Ctable+border%3D%271%27+cellpadding%3D%2710%27+cellspacing%3D%2710%27%3E'
    6     3        ECHO                                                     '%3Ctr%3E'
    7     4      > FE_RESET_R                                       $5      !0, ->15
          5    > > FE_FETCH_R                                               $5, !2, ->15
    9     6    >   CONCAT                                           ~6      '%3Ctd%3E', !2
          7        CONCAT                                           ~7      ~6, '%3C%2Ftd%3E'
          8        ECHO                                                     ~7
   10     9        PRE_INC                                                  !1
   12    10        IS_SMALLER_OR_EQUAL                                      4, !1
         11      > JMPZ                                                     ~9, ->14
   13    12    >   ECHO                                                     '%3C%2Ftr%3E'
   14    13        ASSIGN                                                   !1, 1
    7    14    > > JMP                                                      ->5
         15    >   FE_FREE                                                  $5
   17    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.27 ms | 1394 KiB | 13 Q