3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<html> <form method='post'> <input type="text" name="name"> <input type= "submit" value="submitname"> </form> <?php $name=$_post['name']; echo "hello $name"; ?> </html>
based on C4Xp3
Output for 5.0.4 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<html> <form method='post'> <input type="text" name="name"> <input type= "submit" value="submitname"> </form> Notice: Undefined variable: _post in /in/IoLur on line 9 hello </html>
Output for 4.3.0 - 5.0.3
<html> <form method='post'> <input type="text" name="name"> <input type= "submit" value="submitname"> </form> Notice: Undefined variable: _post in /in/IoLur on line 9 hello </html>