3v4l.org

run code in 150+ 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 "; ?> </body> </html>
based on LNtO1
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<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/vXr4e 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/vXr4e on line 10 Hello </body> </html>