3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.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