3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 1; $i <= 100; $i++) { $isFizz = (0 === $i % 3); $isBuzz = (0 === $i % 5); if (!$isFizz && !$isBuzz) { echo $i . PHP_EOL; continue; } if ($isFizz) { echo 'Fizz'; } if ($isBuzz) { echo 'Buzz'; } echo PHP_EOL; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 2
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 46) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 16
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 2
Branch analysis from position: 24
Branch analysis from position: 2
Branch analysis from position: 16
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 18
Branch analysis from position: 17
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 20
Branch analysis from position: 19
2 jumps found. (Code = 44) Position 1 = 24, Position 2 = 2
Branch analysis from position: 24
Branch analysis from position: 2
Branch analysis from position: 20
Branch analysis from position: 18
Branch analysis from position: 12
filename:       /in/8t6rc
function name:  (null)
number of ops:  25
compiled vars:  !0 = $i, !1 = $isFizz, !2 = $isBuzz
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
          1      > JMP                                                      ->22
    4     2    >   MOD                                              ~4      !0, 3
          3        IS_IDENTICAL                                     ~5      ~4, 0
          4        ASSIGN                                                   !1, ~5
    5     5        MOD                                              ~7      !0, 5
          6        IS_IDENTICAL                                     ~8      ~7, 0
          7        ASSIGN                                                   !2, ~8
    7     8        BOOL_NOT                                         ~10     !1
          9      > JMPZ_EX                                          ~10     ~10, ->12
         10    >   BOOL_NOT                                         ~11     !2
         11        BOOL                                             ~10     ~11
         12    > > JMPZ                                                     ~10, ->16
    8    13    >   CONCAT                                           ~12     !0, '%0A'
         14        ECHO                                                     ~12
   10    15      > JMP                                                      ->21
   13    16    > > JMPZ                                                     !1, ->18
   14    17    >   ECHO                                                     'Fizz'
   17    18    > > JMPZ                                                     !2, ->20
   18    19    >   ECHO                                                     'Buzz'
   21    20    >   ECHO                                                     '%0A'
    3    21    >   PRE_INC                                                  !0
         22    >   IS_SMALLER_OR_EQUAL                                      !0, 100
         23      > JMPNZ                                                    ~14, ->2
   22    24    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.16 ms | 1443 KiB | 13 Q