3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [0,1,2,3,4,5,6,7,8,9,10]; $i = 0; echo $array[0+3*$i]; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HE6IL
function name:  (null)
number of ops:  7
compiled vars:  !0 = $array, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 0
    4     2        MUL                                              ~4      !1, 3
          3        ADD                                              ~5      0, ~4
          4        FETCH_DIM_R                                      ~6      !0, ~5
          5        ECHO                                                     ~6
    6     6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.48 ms | 1392 KiB | 13 Q