3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<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>
Output for 4.3.0 - 7.1.0
<html> <head> <title>Online PHP Script Execution</title> </head> <body> </body> <form method="post" action=""> <input type="text" name="txt" value=""><br> <input type="submit" name"save" value"Submit"> </form> </html>