3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $email = 'pascal@superpencil.com'; $content = stripslashes("I'm a little piggy"); $name = "Harry Potter"; $sender = "harry@hogwarts.co.uk"; $subject = stripslashes("I'm a little piggy"); $headers = stripslashes("From: $name "."<".$sender.">\r\n"); mail($email, $subject, $content, $headers);
Output for 4.3.0 - 7.2.0
Warning: mail() has been disabled for security reasons in /in/k1Xas on line 8