3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.37 ms | 1399 KiB | 13 Q