3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 1; for($f = 0; $f <= 20; $f++) { echo "F".$f." = ".intval((($f-1)+$f-2))."\n"; $i++; }
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 = 44) Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
Branch analysis from position: 3
filename:       /in/kbWTD
function name:  (null)
number of ops:  17
compiled vars:  !0 = $i, !1 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    3     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->14
    4     3    >   CONCAT                                           ~4      'F', !1
          4        CONCAT                                           ~5      ~4, '+%3D+'
          5        SUB                                              ~6      !1, 1
          6        ADD                                              ~7      ~6, !1
          7        SUB                                              ~8      ~7, 2
          8        CAST                                          4  ~9      ~8
          9        CONCAT                                           ~10     ~5, ~9
         10        CONCAT                                           ~11     ~10, '%0A'
         11        ECHO                                                     ~11
    5    12        PRE_INC                                                  !0
    3    13        PRE_INC                                                  !1
         14    >   IS_SMALLER_OR_EQUAL                                      !1, 20
         15      > JMPNZ                                                    ~14, ->3
    6    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.89 ms | 1398 KiB | 13 Q