3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 0; while ($i++ < 5) { echo "Outer<br />\n"; echo "Middle<br />\n"; while (1) { echo "Inner<br />\n"; continue 2; } echo "This never gets output.<br />\n"; echo "Neither does this.<br />\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
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
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 5
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/8AvGM
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
    4     1      > JMP                                                      ->10
    5     2    >   ECHO                                                     'Outer%3Cbr+%2F%3E%0A'
    7     3        ECHO                                                     'Middle%3Cbr+%2F%3E%0A'
    8     4      > JMP                                                      ->7
    9     5    >   ECHO                                                     'Inner%3Cbr+%2F%3E%0A'
   10     6      > JMP                                                      ->10
    8     7    > > JMPNZ                                                    1, ->5
   12     8    >   ECHO                                                     'This+never+gets+output.%3Cbr+%2F%3E%0A'
   14     9        ECHO                                                     'Neither+does+this.%3Cbr+%2F%3E%0A'
    4    10    >   POST_INC                                         ~2      !0
         11        IS_SMALLER                                               ~2, 5
         12      > JMPNZ                                                    ~3, ->2
   15    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.32 ms | 1394 KiB | 13 Q