3v4l.org

run code in 300+ PHP versions simultaneously
<?php goto d; a: print "Line1\n"; goto end; b: print "Line2\n"; goto a; c: print "Line3\n"; goto b; d: print "Line4\n"; goto c; end: exit;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 1
Branch analysis from position: 1
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/nP8fL
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E > > JMP                                                      ->7
    3     1    >   ECHO                                                     'Line1%0A'
          2      > JMP                                                      ->9
    4     3    >   ECHO                                                     'Line2%0A'
          4      > JMP                                                      ->1
    5     5    >   ECHO                                                     'Line3%0A'
          6      > JMP                                                      ->3
    6     7    >   ECHO                                                     'Line4%0A'
          8      > JMP                                                      ->5
    7     9    > > EXIT                                                     
         10*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.49 ms | 1397 KiB | 13 Q