3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if(isset($_POST['fname'])|| isset($_POST['lname'])){ echo "Välkomen" . $_POST[fname] . " " . $_POST[fname]; } ?> <!DOCTYPE HTML> <HTML> <head></head> <body> <form action="PHP_SELF" method="post"> First name: <input type="text" name="fname"><br> Last name: <input type"text" name="lname"><br> <input type="submit" value="Send"> </form> </body> <HTML>
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0rc6
<!DOCTYPE HTML> <HTML> <head></head> <body> <form action="PHP_SELF" method="post"> First name: <input type="text" name="fname"><br> Last name: <input type"text" name="lname"><br> <input type="submit" value="Send"> </form> </body> <HTML>