3v4l.org

run code in 300+ PHP versions simultaneously
<?php // The message $message = "Line 1\r\nLine 2\r\nLine 3"; // In case any of our lines are larger than 70 characters, we should use wordwrap() $message = wordwrap($message, 70, "\r\n"); // Send if(mail('mrtnzlml@gmail.com', 'XAMPP2 test', $message)) { echo 'OK'; } else { echo 'ERR'; } $error = error_get_last(); echo '<br> -> ' . $error;
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function mail() in /in/L5sbd:9 Stack trace: #0 {main} thrown in /in/L5sbd on line 9
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
53.31 ms | 401 KiB | 8 Q