3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.54 ms | 1393 KiB | 13 Q