3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var=23; $mod=1; for ($i=1; $i<6;$i++){ $var=$var+$i; $mod=$mod+1; } ?>
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 = 4
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 4
Branch analysis from position: 11
Branch analysis from position: 4
filename:       /in/eQpC0
function name:  (null)
number of ops:  12
compiled vars:  !0 = $var, !1 = $mod, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 23
    3     1        ASSIGN                                                   !1, 1
    4     2        ASSIGN                                                   !2, 1
          3      > JMP                                                      ->9
    5     4    >   ADD                                              ~6      !0, !2
          5        ASSIGN                                                   !0, ~6
    6     6        ADD                                              ~8      !1, 1
          7        ASSIGN                                                   !1, ~8
    4     8        PRE_INC                                                  !2
          9    >   IS_SMALLER                                               !2, 6
         10      > JMPNZ                                                    ~11, ->4
    8    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.33 ms | 1393 KiB | 13 Q