3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <form method=post> <input type="text" name="name"> <input type="submit" name="submit"> </form> <?php $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/VEGPT
function name:  (null)
number of ops:  10
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3C%21DOCTYPE+html%3E++%0A%3Chtml%3E++%0A%3Chead%3E++%0A+++%3Ctitle%3E%3C%2Ftitle%3E++%0A+++%3Cmeta+http-equiv%3D%22Content-Type%22+content%3D%22text%2Fhtml%3B+charset%3DUTF-8%22%3E++%0A+++%3C%2Fhead%3E++%0A+++%3Cbody%3E%0A+++++++%3Cform+method%3Dpost%3E%0A+++++++++++%09%3Cinput+type%3D%22text%22+name%3D%22name%22%3E%0A+++++++++++%3Cinput+type%3D%22submit%22+name%3D%22submit%22%3E%0A+++++++%3C%2Fform%3E%0A'
   13     1        FETCH_R                      global              ~1      '_POST'
          2        FETCH_DIM_R                                      ~2      ~1, 'name'
          3        ASSIGN                                                   !0, ~2
   14     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
   16     8        ECHO                                                     '+++%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   17     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.12 ms | 1392 KiB | 13 Q