3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE> <html> <body> <form method="POST"> <h2>Please enter your name as input : </h2> <input type="text" name="name"/> <input type="submit" name="submit"/> </form> <?php $name=$_POST['name']; echo "HELLO $name"; ?> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ynvv3
function name:  (null)
number of ops:  9
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3C%21DOCTYPE%3E%0A%3Chtml%3E%0A++++++++%3Cbody%3E%0A++++++++++++%3Cform+method%3D%22POST%22%3E%0A++++++++++++%3Ch2%3EPlease+enter+your+name+as+input+%3A+%3C%2Fh2%3E%0A++++++++++++++++%3Cinput+type%3D%22text%22+name%3D%22name%22%2F%3E%0A++++++++++++++++%3Cinput+type%3D%22submit%22+name%3D%22submit%22%2F%3E%0A++++++++++++%3C%2Fform%3E%0A++++++++++++++++'
   10     1        FETCH_R                      global              ~1      '_POST'
          2        FETCH_DIM_R                                      ~2      ~1, 'name'
          3        ASSIGN                                                   !0, ~2
   11     4        NOP                                                      
          5        FAST_CONCAT                                      ~4      'HELLO+', !0
          6        ECHO                                                     ~4
   13     7        ECHO                                                     '++++%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   14     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.86 ms | 1393 KiB | 13 Q