3v4l.org

run code in 300+ PHP versions simultaneously
<?php $overView = array('a','b','v'); for($i=0; $i<count($overView); $i++){ //I want to iterate through the Overview file/array, print the contents apropriately if ($i % 2 == 0){?> <dt><span class = "bold"> <?php print ($overView[$i]); ?></span></dt> <?php } else { ?> <dd><?php print ($overView[$i]); ?> </dd> <?php }} ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 3
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 11
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 3
Branch analysis from position: 19
Branch analysis from position: 3
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 3
Branch analysis from position: 19
Branch analysis from position: 3
filename:       /in/XPj8r
function name:  (null)
number of ops:  20
compiled vars:  !0 = $overView, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->16
    4     3    >   MOD                                              ~4      !1, 2
          4        IS_EQUAL                                                 ~4, 0
          5      > JMPZ                                                     ~5, ->11
    5     6    >   ECHO                                                     '+%3Cdt%3E%3Cspan+class+%3D+%22bold%22%3E+'
          7        FETCH_DIM_R                                      ~6      !0, !1
          8        ECHO                                                     ~6
          9        ECHO                                                     '%3C%2Fspan%3E%3C%2Fdt%3E%0A'
         10      > JMP                                                      ->15
    7    11    >   ECHO                                                     '%3Cdd%3E'
         12        FETCH_DIM_R                                      ~7      !0, !1
         13        ECHO                                                     ~7
         14        ECHO                                                     '+%3C%2Fdd%3E%0A'
    3    15    >   PRE_INC                                                  !1
         16    >   COUNT                                            ~9      !0
         17        IS_SMALLER                                               !1, ~9
         18      > JMPNZ                                                    ~10, ->3
    8    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.89 ms | 1394 KiB | 13 Q