3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<html> <head> </head> <body> <form method="POST"> <input type="text" name="name" /> <input type="submit" value="show name" </form> <?php $name=$_POST['name']; echo "Hello $name"; ?> </body> </html>
based on vXr4e
Output for 5.3.0 - 7.1.10
<html> <head> </head> <body> <form method="POST"> <input type="text" name="name" /> <input type="submit" value="show name" </form> Notice: Undefined index: name in /in/8qa59 on line 10 Hello </body> </html>
Output for 4.3.0 - 5.2.17
<html> <head> </head> <body> <form method="POST"> <input type="text" name="name" /> <input type="submit" value="show name" </form> Notice: Undefined index: name in /in/8qa59 on line 10 Hello </body> </html>