3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number = 1; while($number <= 200){ print $number; if($number % 3 == 0){ print 'Blue'; } if($number % 5 == 0){ print 'Red'; } $number++; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 2
Branch analysis from position: 14
Branch analysis from position: 2
Branch analysis from position: 11
Branch analysis from position: 7
filename:       /in/ASIKC
function name:  (null)
number of ops:  15
compiled vars:  !0 = $number
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    3     1      > JMP                                                      ->12
    4     2    >   ECHO                                                     !0
    5     3        MOD                                              ~2      !0, 3
          4        IS_EQUAL                                                 ~2, 0
          5      > JMPZ                                                     ~3, ->7
    6     6    >   ECHO                                                     'Blue'
    9     7    >   MOD                                              ~4      !0, 5
          8        IS_EQUAL                                                 ~4, 0
          9      > JMPZ                                                     ~5, ->11
   10    10    >   ECHO                                                     'Red'
   12    11    >   PRE_INC                                                  !0
    3    12    >   IS_SMALLER_OR_EQUAL                                      !0, 200
         13      > JMPNZ                                                    ~7, ->2
   13    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.4 ms | 1393 KiB | 13 Q