3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = range(0, 1000); for ($i = 0; $i < count($a); $i++) { $a[$i] + 1; }
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 = 14, Position 2 = 7
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 7
Branch analysis from position: 14
Branch analysis from position: 7
filename:       /in/vbmlA
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 0
          2        SEND_VAL                                                 1000
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    3     5        ASSIGN                                                   !1, 0
          6      > JMP                                                      ->11
    4     7    >   FETCH_DIM_R                                      ~5      !0, !1
          8        ADD                                              ~6      ~5, 1
          9        FREE                                                     ~6
    3    10        PRE_INC                                                  !1
         11    >   COUNT                                            ~8      !0
         12        IS_SMALLER                                               !1, ~8
         13      > JMPNZ                                                    ~9, ->7
    5    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.36 ms | 1386 KiB | 15 Q