3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $to = 'danceclubunit@hotmail.com'; $subject = 'Subject'; $message = 'This is a test'; $headers = 'From: webmaster@yourdot.com' . "\r\n" . 'Reply-To: webmaster@yourdot.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); ?>

preferences:
24.64 ms | 406 KiB | 5 Q