3v4l.org

run code in 300+ PHP versions simultaneously
!DOCTYPE html> <html> <body> <form method='POST'> <h2>Please input your name:</h2> <input type="text" name="name"> <input type="submit" value="Submit Name"> </form> <?php //Retrieve name from query string and store to a local variable $name = $_POST['name']; echo "<h3> Hello $name </h3>"; ?> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/o763s
function name:  (null)
number of ops:  10
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%21DOCTYPE+html%3E++%0A%3Chtml%3E++%0A%0A+++%3Cbody%3E++%0A+++%3Cform+method%3D%27POST%27%3E++%0A+++%3Ch2%3EPlease+input+your+name%3A%3C%2Fh2%3E++%0A+%3Cinput+type%3D%22text%22+name%3D%22name%22%3E++%0A+%3Cinput+type%3D%22submit%22+value%3D%22Submit+Name%22%3E++%0A+%3C%2Fform%3E++%0A'
   12     1        FETCH_R                      global              ~1      '_POST'
          2        FETCH_DIM_R                                      ~2      ~1, 'name'
          3        ASSIGN                                                   !0, ~2
   13     4        ROPE_INIT                                     3  ~5      '%3Ch3%3E+Hello+'
          5        ROPE_ADD                                      1  ~5      ~5, !0
          6        ROPE_END                                      2  ~4      ~5, '+%3C%2Fh3%3E'
          7        ECHO                                                     ~4
   14     8        ECHO                                                     '++%0A%3C%2Fbody%3E++%0A%3C%2Fhtml%3E'
   16     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
189.11 ms | 1384 KiB | 13 Q