3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = array (1, 2, 3, 4); $v = 0; $b = count($i)-1; for ($v; $v<=$b; $v++) { echo "$i[$v] "; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 6
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 6
Branch analysis from position: 13
Branch analysis from position: 6
filename:       /in/riWmo
function name:  (null)
number of ops:  14
compiled vars:  !0 = $i, !1 = $v, !2 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 0
    4     2        COUNT                                            ~5      !0
          3        SUB                                              ~6      ~5, 1
          4        ASSIGN                                                   !2, ~6
    5     5      > JMP                                                      ->11
    6     6    >   FETCH_DIM_R                                      ~8      !0, !1
          7        NOP                                                      
          8        FAST_CONCAT                                      ~9      ~8, '+'
          9        ECHO                                                     ~9
    5    10        PRE_INC                                                  !1
         11    >   IS_SMALLER_OR_EQUAL                                      !1, !2
         12      > JMPNZ                                                    ~11, ->6
    9    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.51 ms | 1393 KiB | 13 Q