3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_include_path("include_path", "C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\PEAR"); include("Mail.php"); /* mail setup recipients, subject etc */ $recipients = "data.flame@gmail.com"; $headers["From"] = "info@chimpeon.com"; $headers["To"] = "data.flame@gmail.com"; $headers["Subject"] = "User feedback"; $mailmsg = "Hello, This is a test."; /* SMTP server name, port, user/passwd */ $smtpinfo["host"] = "localhost"; $smtpinfo["port"] = "25"; $smtpinfo["auth"] = true; $smtpinfo["username"] = "info@chimpeon.com"; $smtpinfo["password"] = "8eat5hitDown642"; /* Create the mail object using the Mail::factory method */ $mail_object =& Mail::factory("smtp", $smtpinfo); /* Ok send mail */ $mail_object->send($recipients, $headers, $mailmsg); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ArgumentCountError: set_include_path() expects exactly 1 argument, 2 given in /in/AUblq:2 Stack trace: #0 /in/AUblq(2): set_include_path('include_path', 'C:\\Program File...') #1 {main} thrown in /in/AUblq on line 2
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:
62.85 ms | 401 KiB | 8 Q