3v4l.org

run code in 300+ PHP versions simultaneously
<html> <head> <title>Mailformulier </title> </head> <body> <?php ini_set("SMTP", "mail.live.com"); ini_set("smtp_poort", 25); ini_set("sendmail_from", "mailadres"); if($_POST["verzendbutton"] != "verzenden" || !$_POST["naam"] || !$_POST["mailadres"] || !$_POST["reactie"]) { // dus als het formulier leeg is of de waarde niet zijn ingevuld ?> <form action="mailform3.php" method = "post"> <?php if ($_POST["verzendbutton"] && !$_POST["naam"]) { !$_POST["mailadres"] || !$_POST["reactie"] { echo "<font color=\"red\"> Vul hier uw mailadres in</font><br>"; } ?> naam: <input type = "text" name = "naam" value ="<?php echo $_POST =["naam"] ?>"><br> <?php if ($_POST["verzendbutton"] && !$_POST["mailadres"]) { echo "<font color =\"red\"> Vul hier uw mailadres in!</font><br>"; } ?> E-mail: <input type = "text" name ="mailadres" value="<?php echo $_POST["mailadres"] ?>"><br> <?php if ($_POST["verzendbutton"] && !$_POST["reactie"]) { echo "<font color=\"red\">Vul hier uw reactie in!</font<br>"; } ?> Uw reactie": <textarea cols="30"rows ="4" name="reactie"><?php echo $_POST["reactie"] ?> </textarea> <input type = "submit" value ="verzenden" name ="verzendbutton"> </form> <?php } else { $boodschap = "Naam: ".$_POST["naam"]."\ncommentaar: ".$_POST["reacrie"]; mail($_POST["mailadres"], "Uw reactie van de website", $boodschap); echo "Bedankt ".$_POST["naam"].", fijn dat je mee wilde doen!"; } ?> </body> </html>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.300.0100.05019.04
5.4.290.0100.04719.16
5.4.280.0130.04319.13
5.4.270.0170.04018.87
5.4.260.0170.04019.19
5.4.250.0230.07319.06
5.4.240.0200.03718.95
5.4.230.0230.03719.09
5.4.220.0130.04319.22
5.4.210.0200.03719.23
5.4.200.0170.04019.17
5.4.190.0200.04018.98
5.4.180.0130.04019.08
5.4.170.0230.03018.86
5.4.160.0170.03719.18
5.4.150.0300.04019.22
5.4.140.0200.05016.41
5.4.130.0170.03716.42
5.4.120.0230.04016.31
5.4.110.0270.05716.45
5.4.100.0030.04316.55
5.4.90.0000.03716.54
5.4.80.0030.03316.54
5.4.70.1700.03316.54
5.4.60.1800.03716.17
5.4.50.1670.03716.52
5.4.40.1800.04716.39
5.4.30.1770.03716.55
5.4.20.1730.03016.52
5.4.10.2230.03716.42
5.4.00.1730.03315.78
5.3.280.1970.04714.48
5.3.270.1700.04314.71
5.3.260.1630.04314.59
5.3.250.1770.03314.47
5.3.240.1770.03314.46
5.3.230.2030.04014.47
5.3.220.1900.03314.45
5.3.210.1700.04014.62
5.3.200.1670.03714.48
5.3.190.1870.05014.44
5.3.180.1600.04014.52
5.3.170.1700.03714.44
5.3.160.1830.04714.41
5.3.150.1630.03714.51
5.3.140.1870.04314.50
5.3.130.1870.04714.43
5.3.120.1570.03714.43
5.3.110.1870.04314.38
5.3.100.1770.03314.04
5.3.90.1800.04013.86
5.3.80.1700.03013.97
5.3.70.1570.04313.89
5.3.60.1900.04713.85
5.3.50.1800.04313.93
5.3.40.1970.03313.89
5.3.30.1900.04713.79
5.3.20.0100.06013.68
5.3.10.0200.03013.56
5.3.00.0170.04013.63

preferences:
147.1 ms | 1394 KiB | 7 Q