3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <form action="" method="post"> Input String: <input type="text" name="name" ><br><br> <input type="submit" value="Submit" name="submit"><br><br> </form> <?php if(isset($_POST['submit'])){ $string = $_POST["name"]; echo "$string"; } ?> </body> </html>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/9GSMq
function name:  (null)
number of ops:  11
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3C%21DOCTYPE+html%3E%0A%3Chtml%3E%0A%3Cbody%3E%0A%0A%3Cform+action%3D%22%22+method%3D%22post%22%3E%0AInput+String%3A+%3Cinput+type%3D%22text%22+name%3D%22name%22+%3E%3Cbr%3E%3Cbr%3E%0A%3Cinput+type%3D%22submit%22+value%3D%22Submit%22+name%3D%22submit%22%3E%3Cbr%3E%3Cbr%3E%0A%3C%2Fform%3E%0A%0A'
   11     1        FETCH_IS                                         ~1      '_POST'
          2        ISSET_ISEMPTY_DIM_OBJ                         0          ~1, 'submit'
          3      > JMPZ                                                     ~2, ->9
   12     4    >   FETCH_R                      global              ~3      '_POST'
          5        FETCH_DIM_R                                      ~4      ~3, 'name'
          6        ASSIGN                                                   !0, ~4
   13     7        CAST                                          6  ~6      !0
          8        ECHO                                                     ~6
   17     9    >   ECHO                                                     '%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   18    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.71 ms | 1384 KiB | 13 Q