3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str='PHP Tutorial'; $name=$_POST['n']; ?> <html> <head> </head> <body> <form method="POST"> <h3>Please Input Your Name:</h3> <input type="text" name="n" /> <input type="button" value="Submit Name" /> </form> <p><?php echo $name; ?></p> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tfiGa
function name:  (null)
number of ops:  8
compiled vars:  !0 = $str, !1 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'PHP+Tutorial'
    3     1        FETCH_R                      global              ~3      '_POST'
          2        FETCH_DIM_R                                      ~4      ~3, 'n'
          3        ASSIGN                                                   !1, ~4
    6     4        ECHO                                                     '%3Chtml%3E%0A%09%3Chead%3E%0A%09%3C%2Fhead%3E%0A%09%0A%09%3Cbody%3E%0A%09%3Cform+method%3D%22POST%22%3E%0A%09%3Ch3%3EPlease+Input+Your+Name%3A%3C%2Fh3%3E%0A%09%3Cinput+type%3D%22text%22+name%3D%22n%22+%2F%3E%0A%09%3Cinput+type%3D%22button%22+value%3D%22Submit+Name%22+%2F%3E%0A%09%3C%2Fform%3E%0A%09%3Cp%3E'
   16     5        ECHO                                                     !1
          6        ECHO                                                     '%3C%2Fp%3E%0A%09%3C%2Fbody%3E%0A%0A%3C%2Fhtml%3E'
   19     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.09 ms | 1397 KiB | 13 Q