3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $_POST['password'] = 'foo'; if(!isset($_POST["password"]) || $_POST["password"] != "swordfish" ){ die('</head><body><form action="index.php" method="post"> <input type="password" name="password"><input type="submit"></form>'); }
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
</head><body><form action="index.php" method="post"> <input type="password" name="password"><input type="submit"></form>