3v4l.org

run code in 300+ PHP versions simultaneously
<?php goto label2; label: print("label\n"); goto label3; label2: print("label2\n"); while (true) { goto label; } label3: print("label3\n");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 5
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 1
Branch analysis from position: 1
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
filename:       /in/UWh5R
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > JMP                                                      ->3
    5     1    >   ECHO                                                     'label%0A'
    6     2      > JMP                                                      ->7
    8     3    >   ECHO                                                     'label2%0A'
    9     4      > JMP                                                      ->6
   10     5    > > JMP                                                      ->1
    9     6    > > JMPNZ                                                    <true>, ->5
   14     7    >   ECHO                                                     'label3%0A'
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.9 ms | 1393 KiB | 13 Q