3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.45 ms | 1384 KiB | 13 Q