3v4l.org

run code in 300+ PHP versions simultaneously
<html> <head> <title>Online PHP Script Execution</title> </head> <body> <?php if(isset($_POST['save'])){ $t=$_REQUEST['txt']; echo $t; } ?> </body> <form method="post" action=""> <input type="text" name="txt" value=""><br> <input type="submit" name"save" value"Submit"> </form> </html>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 8
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/1ip8L
function name:  (null)
number of ops:  10
compiled vars:  !0 = $t
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'
    7     1        FETCH_IS                                         ~1      '_POST'
          2        ISSET_ISEMPTY_DIM_OBJ                         0          ~1, 'save'
          3      > JMPZ                                                     ~2, ->8
    8     4    >   FETCH_R                      global              ~3      '_REQUEST'
          5        FETCH_DIM_R                                      ~4      ~3, 'txt'
          6        ASSIGN                                                   !0, ~4
    9     7        ECHO                                                     !0
   12     8    >   ECHO                                                     '%3C%2Fbody%3E%0A%3Cform+method%3D%22post%22+action%3D%22%22%3E%0A%3Cinput+type%3D%22text%22+name%3D%22txt%22+value%3D%22%22%3E%3Cbr%3E%0A%3Cinput+type%3D%22submit%22+name%22save%22+value%22Submit%22%3E%0A%3C%2Fform%3E%0A%3C%2Fhtml%3E'
   17     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.14 ms | 1393 KiB | 13 Q