3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.56 ms | 1393 KiB | 13 Q