3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $to = "sunset.kiten@gmail.com"; $subject = "Try to send email from php"; $txt = "Ko sta be"; $headers = "From: nikolay.ptkv@gmail.com"; mail($to,$subject,$txt,$headers); ?>
Output for 5.6.30, 7.0.0 - 7.2.9
Warning: mail() has been disabled for security reasons in /in/X1hK6 on line 8
Output for hhvm-3.15.4 - 3.22.0