3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php <?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 5.3.0 - 5.4.10
Parse error: syntax error, unexpected '<' in /in/bX9rk on line 2
Process exited with code 255.