3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<!doctype html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body style="background-color:#09F; border:#000;"> <form method="post"> <h2>please insert user name:</h2> <input type="text" name="name"></input> <input type="submit" value="submit Name"></input> </form> <?php $name=$_POST['name']; echo "the name is :". $name; ?> </body> </html>
Output for 5.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
<!doctype html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body style="background-color:#09F; border:#000;"> <form method="post"> <h2>please insert user name:</h2> <input type="text" name="name"></input> <input type="submit" value="submit Name"></input> </form> Notice: Undefined index: name in /in/i4CWj on line 14 the name is :</body> </html>
Output for hhvm-3.10.0
<!doctype html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body style="background-color:#09F; border:#000;"> <form method="post"> <h2>please insert user name:</h2> <input type="text" name="name"></input> <input type="submit" value="submit Name"></input> </form> Notice: Undefined index: name in /in/i4CWj on line -1 the name is :</body> </html>
Output for 4.3.0 - 5.2.17
<!doctype html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body style="background-color:#09F; border:#000;"> <form method="post"> <h2>please insert user name:</h2> <input type="text" name="name"></input> <input type="submit" value="submit Name"></input> </form> Notice: Undefined index: name in /in/i4CWj on line 14 the name is :</body> </html>