3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 10; $i++) { switch ($i) { case 2 : echo $i."\n"; continue; default : echo $i."\n"; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 2
Branch analysis from position: 13
Branch analysis from position: 2
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
filename:       /in/v8dhN
function name:  (null)
number of ops:  14
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->11
    5     2    >   IS_EQUAL                                                 !0, 2
          3      > JMPNZ                                                    ~2, ->5
          4    > > JMP                                                      ->8
    6     5    >   CONCAT                                           ~3      !0, '%0A'
          6        ECHO                                                     ~3
    7     7      > JMP                                                      ->10
   10     8    >   CONCAT                                           ~4      !0, '%0A'
          9        ECHO                                                     ~4
    3    10    >   PRE_INC                                                  !0
         11    >   IS_SMALLER                                               !0, 10
         12      > JMPNZ                                                    ~6, ->2
   12    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.29 ms | 938 KiB | 14 Q