3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if(isset($_POST['submit'])) ( $msg = 'Name: ' .$_POST['FirstName'] .$_POST['LastName'] ."\n" .'Email: ' .$_POST['Email'] ."\n" .'Message: ' .$_POST['Message']; mail('email@me.com', 'Message from website', $msg); header('location: contact-thank-you.php'); ) else ( header('location: contact.php'); exit(0); ) ) ?>
Output for 5.3.0 - 5.4.9
Parse error: syntax error, unexpected ';' in /in/pKHAR on line 5
Process exited with code 255.