3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<html> <head> <title> Form </title> </head> <body> <form> Enter your name: <input type="text" name="Name"> <input type="submit" name="submit"> </form> <?php $name=$_POST ['name']; echo "Hello $name"; ?>
based on NN7dQ
Output for 5.3.0 - 7.2.0
<html> <head> <title> Form </title> </head> <body> <form> Enter your name: <input type="text" name="Name"> <input type="submit" name="submit"> </form> Notice: Undefined index: name in /in/W9X2X on line 16 Hello
Output for 4.3.0 - 5.2.17
<html> <head> <title> Form </title> </head> <body> <form> Enter your name: <input type="text" name="Name"> <input type="submit" name="submit"> </form> Notice: Undefined index: name in /in/W9X2X on line 16 Hello