3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = 'PHP Tutorial'; ?> <!DOCTYPE html> <html> <head> <title><?php echo $var; ?></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <form method= 'POST'> <h2>Please input your name: </h2> <input type='text' name='name'> <input type='submit' value = "Submit Name"> </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/EI2q4
function name:  (null)
number of ops:  13
compiled vars:  !0 = $var, !1 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'PHP+Tutorial'
    4     1        ECHO                                                     '%3C%21DOCTYPE+html%3E%0A%3Chtml%3E%0A++++%3Chead%3E%0A++++++++%3Ctitle%3E'
    7     2        ECHO                                                     !0
          3        ECHO                                                     '%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%3D+%27POST%27%3E%0A++++%3Ch2%3EPlease+input+your+name%3A+%3C%2Fh2%3E%0A++++%3Cinput+type%3D%27text%27+name%3D%27name%27%3E%0A++++%3Cinput+type%3D%27submit%27+value+%3D+%22Submit+Name%22%3E%0A++++++++%3C%2Fform%3E%0A+'
   16     4        FETCH_R                      global              ~3      '_POST'
          5        FETCH_DIM_R                                      ~4      ~3, 'name'
          6        ASSIGN                                                   !1, ~4
   17     7        ROPE_INIT                                     3  ~7      '%3Ch3%3E+Hello+'
          8        ROPE_ADD                                      1  ~7      ~7, !1
          9        ROPE_END                                      2  ~6      ~7, '+%3C%2Fh3%3E'
         10        ECHO                                                     ~6
   18    11        ECHO                                                     '%0A+++++%0A++++%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   21    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.75 ms | 1393 KiB | 13 Q