3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = Array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20); for ($i=0, $len=sizeof($a); $i<$len; $i++) { $b = $a[$i] + 100; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 5
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 5
Branch analysis from position: 11
Branch analysis from position: 5
filename:       /in/h55Uj
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $i, !2 = $len, !3 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 0
          2        COUNT                                            ~6      !0
          3        ASSIGN                                                   !2, ~6
          4      > JMP                                                      ->9
    4     5    >   FETCH_DIM_R                                      ~8      !0, !1
          6        ADD                                              ~9      ~8, 100
          7        ASSIGN                                                   !3, ~9
    3     8        PRE_INC                                                  !1
          9    >   IS_SMALLER                                               !1, !2
         10      > JMPNZ                                                    ~12, ->5
    5    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
195.52 ms | 1392 KiB | 13 Q