3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.72 ms | 1385 KiB | 13 Q