3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $headers="From: BJ <b4bhaskarr@gmail.com>\r\n". "Reply-To: b4bhaskarr@gmail.com\r\n". "Cc: bhaskarr.jain@gmail.com\r\n". "BCC: bjain@tecziq.com\r\n". "MIME-Version: 1.0\r\n". "Content-type: text/html; charset=UTF-8"; $aa = @mail('b4bhaskarr@gmail.com','test','test msg',$headers); var_dump($aa);
based on 6OuWe
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0beta1
NULL
Output for hhvm-3.18.5 - 3.22.0
bool(false)