3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $curso=$_post['lista']; $nome=$_post['nome']; $morada=$_post['morada']; $contacto=$_post['contacto']; $email=$_post['email']; $profissional=$_post['spryradio1']; $email_from = 'geral@cooperativa-agricola.pt'; $email_subject = "Coonfagri-Novo Candidato"; $email_body ="Candidato ao Curso de $curso.\Nome : $nome\n Morada : $morada\n Contacto : $contacto\n Email : $email\n Regime : $profissional "; $to = "ruipinheiro65@hotmail.com"; $headers = "From: $email_from \r\n"; $headers .= "Reply-To: $email \r\n"; mail($to,$email_subject,$email_body,$headers); header('Location: www.cooperativa-agricola.pt')
Output for 5.4.0 - 5.4.30
Parse error: syntax error, unexpected end of file in /in/2GJIH on line 26
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/2GJIH on line 26
Process exited with code 255.