3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.62 ms | 1395 KiB | 13 Q