3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'Hello World'; if($_POST["textinput"]) { echo $_POST['textinput']; } else { echo '<form method="post"> <textarea id="textinput" name="textinput"> </textarea> <input type="submit"/>'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 8
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K6NIE
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'Hello+World'
    5     1        FETCH_R                      global              ~0      '_POST'
          2        FETCH_DIM_R                                      ~1      ~0, 'textinput'
          3      > JMPZ                                                     ~1, ->8
    7     4    >   FETCH_R                      global              ~2      '_POST'
          5        FETCH_DIM_R                                      ~3      ~2, 'textinput'
          6        ECHO                                                     ~3
          7      > JMP                                                      ->9
   11     8    >   ECHO                                                     '%3Cform+method%3D%22post%22%3E%0A%3Ctextarea+id%3D%22textinput%22+name%3D%22textinput%22%3E%0A%3C%2Ftextarea%3E%0A%3Cinput+type%3D%22submit%22%2F%3E'
   15     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.69 ms | 938 KiB | 14 Q