3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<html> <head> <title> Form </title> </head> <body>  <form method='POST'>   Enter your name: <input type="text" name="name"> <input type="submit" name="submit"> </form> <?php $name=$_POST ['name']; echo "Hello $name"; ?>
based on LHY4n
Output for 5.3.0 - 7.1.0
<html> <head> <title> Form </title> </head> <body>  <form method='POST'>   Enter your name: <input type="text" name="name"> <input type="submit" name="submit"> </form> Notice: Undefined index: name in /in/g3mro on line 15 Hello
Output for 4.3.0 - 5.2.17
<html> <head> <title> Form </title> </head> <body>  <form method='POST'>   Enter your name: <input type="text" name="name"> <input type="submit" name="submit"> </form> Notice: Undefined index: name in /in/g3mro on line 15 Hello