3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.35 ms | 1394 KiB | 13 Q