3v4l.org

run code in 300+ PHP versions simultaneously
<?php while($i++<100)echo[Fizz][$i%3].[Buzz][$i%5]?:$i," ";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 1
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 1
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 1
Branch analysis from position: 17
Branch analysis from position: 1
filename:       /in/G6t2a
function name:  (null)
number of ops:  18
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E > > JMP                                                      ->14
          1    >   FETCH_CONSTANT                                   ~1      'Fizz'
          2        INIT_ARRAY                                       ~2      ~1
          3        MOD                                              ~3      !0, 3
          4        FETCH_DIM_R                                      ~4      ~2, ~3
          5        FETCH_CONSTANT                                   ~5      'Buzz'
          6        INIT_ARRAY                                       ~6      ~5
          7        MOD                                              ~7      !0, 5
          8        FETCH_DIM_R                                      ~8      ~6, ~7
          9        CONCAT                                           ~9      ~4, ~8
         10        JMP_SET                                          ~10     ~9, ->12
         11        QM_ASSIGN                                        ~10     !0
         12        ECHO                                                     ~10
         13        ECHO                                                     '%0A'
         14    >   POST_INC                                         ~11     !0
         15        IS_SMALLER                                               ~11, 100
         16      > JMPNZ                                                    ~12, ->1
    3    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.96 ms | 1393 KiB | 13 Q