3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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); ?>
Output for 4.3.0, 5.4.39 - 7.1.7
Warning: mail() has been disabled for security reasons in /in/7dd2c on line 11
Output for 5.3.25 - 5.4.38
sh: 1: /usr/bin/sendmail: not found
Output for 4.3.1 - 5.3.9, 5.3.11 - 5.3.24
sh: 1: /usr/sbin/sendmail: not found
Output for 5.3.10
sh: 1: -t: not found