3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.23 ms | 1394 KiB | 13 Q