3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if(isset($_POST["submit"])){ if($_POST['formsend']==1){ if($_POST["user"]!="" && $_POST["email"]!="" && $_POST["message"]!=""){ $file=fopen("database.txt","a+"); fwrite($file,$_POST["user"]." ".$_POST["email"]." ".$POST["message"]."\r\n"); fclose($file); } } } ?>
Output for 4.3.0 - 7.1.0