3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<form method="POST"> <input type="text" name="name"> <input type="submit" name="Submit Name"> </form> <?php $name = $_POST['name']; echo $name; ?>
based on kuLmD
Output for 5.3.0 - 7.1.0
<form method="POST"> <input type="text" name="name"> <input type="submit" name="Submit Name"> </form> Notice: Undefined index: name in /in/L3Ro2 on line 7
Output for 4.3.0 - 5.2.17
<form method="POST"> <input type="text" name="name"> <input type="submit" name="Submit Name"> </form> Notice: Undefined index: name in /in/L3Ro2 on line 7