3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = array(-5,0,4,9,4,3,-2,0,1,8); for ($i=0;$i>=9;$i++) { if ($list[$i] >= 4) { echo "this words so far"; } else { echo "nope".$list[$i]; } $i = $i + 1; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
Branch analysis from position: 3
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
Branch analysis from position: 3
filename:       /in/KhGbm
function name:  (null)
number of ops:  17
compiled vars:  !0 = $list, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->14
    4     3    >   FETCH_DIM_R                                      ~4      !0, !1
          4        IS_SMALLER_OR_EQUAL                                      4, ~4
          5      > JMPZ                                                     ~5, ->8
    5     6    >   ECHO                                                     'this+words+so+far'
          7      > JMP                                                      ->11
    8     8    >   FETCH_DIM_R                                      ~6      !0, !1
          9        CONCAT                                           ~7      'nope', ~6
         10        ECHO                                                     ~7
   10    11    >   ADD                                              ~8      !1, 1
         12        ASSIGN                                                   !1, ~8
    3    13        PRE_INC                                                  !1
         14    >   IS_SMALLER_OR_EQUAL                                      9, !1
         15      > JMPNZ                                                    ~11, ->3
   12    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.75 ms | 1393 KiB | 13 Q