3v4l.org

run code in 300+ PHP versions simultaneously
<?php $overView = aray('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 = 23
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 8
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 17
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 8
Branch analysis from position: 26
Branch analysis from position: 8
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 8
Branch analysis from position: 26
Branch analysis from position: 8
filename:       /in/LE5vk
function name:  (null)
number of ops:  27
compiled vars:  !0 = $overView, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'aray'
          1        SEND_VAL_EX                                              'a'
          2        SEND_VAL_EX                                              'b'
          3        SEND_VAL_EX                                              'v'
          4        DO_FCALL                                      0  $2      
          5        ASSIGN                                                   !0, $2
    3     6        ASSIGN                                                   !1, 0
          7      > JMP                                                      ->23
    4     8    >   MOD                                              ~5      !1, 2
          9        IS_EQUAL                                                 ~5, 0
         10      > JMPZ                                                     ~6, ->17
    5    11    >   ECHO                                                     '+%3Cdt%3E%3Cspan+class+%3D+%22bold%22%3E+'
         12        FETCH_CONSTANT                                   ~7      'i'
         13        FETCH_DIM_R                                      ~8      !0, ~7
         14        ECHO                                                     ~8
         15        ECHO                                                     '%3C%2Fspan%3E%3C%2Fdt%3E%0A'
         16      > JMP                                                      ->22
    7    17    >   ECHO                                                     '%3Cdd%3E'
         18        FETCH_CONSTANT                                   ~9      'i'
         19        FETCH_DIM_R                                      ~10     !0, ~9
         20        ECHO                                                     ~10
         21        ECHO                                                     '+%3C%2Fdd%3E%0A'
    3    22    >   PRE_INC                                                  !1
         23    >   COUNT                                            ~12     !0
         24        IS_SMALLER                                               !1, ~12
         25      > JMPNZ                                                    ~13, ->8
    8    26    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.74 ms | 1395 KiB | 13 Q