3v4l.org

run code in 300+ PHP versions simultaneously
<html> <head> <title>Online PHP Script Execution</title> </head> <body> <form method="POST"> <input type="text" name="txt"> <input type="submit" name="sub"> </form> <?php $var=$_POST['txt']; echo "Hello $var"; ?> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/69Xcv
function name:  (null)
number of ops:  9
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Chtml%3E%0A%3Chead%3E%0A%3Ctitle%3EOnline+PHP+Script+Execution%3C%2Ftitle%3E%0A%3C%2Fhead%3E%0A%3Cbody%3E%0A%3Cform+method%3D%22POST%22%3E%0A%3Cinput+type%3D%22text%22+name%3D%22txt%22%3E%0A%3Cinput+type%3D%22submit%22+name%3D%22sub%22%3E%0A%3C%2Fform%3E%0A'
   11     1        FETCH_R                      global              ~1      '_POST'
          2        FETCH_DIM_R                                      ~2      ~1, 'txt'
          3        ASSIGN                                                   !0, ~2
   12     4        NOP                                                      
          5        FAST_CONCAT                                      ~4      'Hello+', !0
          6        ECHO                                                     ~4
   14     7        ECHO                                                     '%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   15     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.58 ms | 1392 KiB | 13 Q