3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php mail(Empfängeremail, Betreff, Nachricht, "From: Absender <absenderemail>");
Output for 7.2.0 - 7.2.6
Warning: Use of undefined constant Empfängeremail - assumed 'Empfängeremail' (this will throw an Error in a future version of PHP) in /in/rY6Bp on line 2 Warning: Use of undefined constant Betreff - assumed 'Betreff' (this will throw an Error in a future version of PHP) in /in/rY6Bp on line 2 Warning: Use of undefined constant Nachricht - assumed 'Nachricht' (this will throw an Error in a future version of PHP) in /in/rY6Bp on line 2 Warning: mail() has been disabled for security reasons in /in/rY6Bp on line 3
Output for 4.3.0, 5.4.39 - 7.1.20
Notice: Use of undefined constant Empfängeremail - assumed 'Empfängeremail' in /in/rY6Bp on line 2 Notice: Use of undefined constant Betreff - assumed 'Betreff' in /in/rY6Bp on line 2 Notice: Use of undefined constant Nachricht - assumed 'Nachricht' in /in/rY6Bp on line 2 Warning: mail() has been disabled for security reasons in /in/rY6Bp on line 3
Output for 5.3.25 - 5.3.29, 5.4.16 - 5.4.38
Notice: Use of undefined constant Empfängeremail - assumed 'Empfängeremail' in /in/rY6Bp on line 2 Notice: Use of undefined constant Betreff - assumed 'Betreff' in /in/rY6Bp on line 2 Notice: Use of undefined constant Nachricht - assumed 'Nachricht' in /in/rY6Bp on line 2 sh: 1: /usr/bin/sendmail: not found
Output for 4.3.1 - 5.3.9, 5.3.11 - 5.3.24, 5.4.0 - 5.4.15
Notice: Use of undefined constant Empfängeremail - assumed 'Empfängeremail' in /in/rY6Bp on line 2 Notice: Use of undefined constant Betreff - assumed 'Betreff' in /in/rY6Bp on line 2 Notice: Use of undefined constant Nachricht - assumed 'Nachricht' in /in/rY6Bp on line 2 sh: 1: /usr/sbin/sendmail: not found
Output for 5.3.10
Notice: Use of undefined constant Empfängeremail - assumed 'Empfängeremail' in /in/rY6Bp on line 2 Notice: Use of undefined constant Betreff - assumed 'Betreff' in /in/rY6Bp on line 2 Notice: Use of undefined constant Nachricht - assumed 'Nachricht' in /in/rY6Bp on line 2 sh: 1: -t: not found