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)
8.3.130.0030.00618.36
8.3.120.0090.00620.66
8.3.110.0100.00720.94
8.3.100.0040.00416.78
8.3.90.0130.00726.77
8.3.80.0060.00316.93
8.3.70.0120.00617.00
8.3.60.0100.00718.43
8.3.50.0130.00722.05
8.3.40.0000.01618.98
8.3.30.0070.00719.05
8.3.20.0070.00020.04
8.3.10.0070.00023.53
8.3.00.0050.00319.56
8.2.250.0070.01016.76
8.2.240.0030.00617.40
8.2.230.0000.01022.58
8.2.220.0040.00424.06
8.2.210.0000.00826.77
8.2.200.0090.00317.00
8.2.190.0180.00316.75
8.2.180.0070.01025.92
8.2.170.0110.00422.96
8.2.160.0140.00020.39
8.2.150.0000.00724.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0030.00520.92
8.2.110.0070.00321.11
8.2.100.0070.00417.97
8.2.90.0000.00819.17
8.2.80.0030.00617.97
8.2.70.0000.00817.75
8.2.60.0040.00418.03
8.2.50.0000.00818.07
8.2.40.0030.00518.28
8.2.30.0040.00418.29
8.2.20.0070.00017.81
8.2.10.0040.00418.00
8.2.00.0030.00617.84
8.1.300.0130.00317.93
8.1.290.0030.00630.84
8.1.280.0180.00025.92
8.1.270.0050.00523.95
8.1.260.0030.00526.35
8.1.250.0080.00028.09
8.1.240.0100.00021.30
8.1.230.0070.00419.00
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0030.00617.23
8.1.190.0030.00617.35
8.1.180.0040.00418.10
8.1.170.0000.00918.66
8.1.160.0000.00722.05
8.1.150.0070.00018.91
8.1.140.0040.00417.36
8.1.130.0030.00317.81
8.1.120.0000.00717.54
8.1.110.0000.00817.41
8.1.100.0060.00317.52
8.1.90.0050.00217.53
8.1.80.0060.00317.46
8.1.70.0040.00417.44
8.1.60.0030.00617.62
8.1.50.0040.00417.52
8.1.40.0040.00417.45
8.1.30.0040.00417.63
8.1.20.0070.00317.70
8.1.10.0000.00817.56
8.1.00.0040.00417.59
8.0.300.0000.00718.77
8.0.290.0000.00917.00
8.0.280.0000.00718.47
8.0.270.0030.00317.23
8.0.260.0030.00317.28
8.0.250.0030.00317.00
8.0.240.0000.00817.07
8.0.230.0030.00317.02
8.0.220.0000.00816.87
8.0.210.0040.00416.91
8.0.200.0030.00317.03
8.0.190.0000.00716.95
8.0.180.0050.00517.00
8.0.170.0000.00816.98
8.0.160.0000.00717.06
8.0.150.0000.00716.95
8.0.140.0070.00016.96
8.0.130.0000.00513.42
8.0.120.0040.00416.96
8.0.110.0050.00316.97
8.0.100.0040.00416.96
8.0.90.0040.00416.87
8.0.80.0110.01116.88
8.0.70.0070.00016.85
8.0.60.0040.00316.82
8.0.50.0050.00217.04
8.0.30.0110.01016.93
8.0.20.0150.00817.40
8.0.10.0080.00017.09
8.0.00.0090.00917.04
7.4.330.0050.00015.14
7.4.320.0000.00616.48
7.4.300.0030.00316.55
7.4.290.0030.00316.66
7.4.280.0080.00016.61
7.4.270.0040.00416.62
7.4.260.0030.00616.67
7.4.250.0000.00816.52
7.4.240.0000.00716.55
7.4.230.0030.00316.73
7.4.220.0090.00916.59
7.4.210.0060.01316.71
7.4.200.0050.00216.67
7.4.160.0130.00316.66
7.4.150.0090.00917.40
7.4.140.0110.01017.86
7.4.130.0040.01316.54
7.4.120.0120.00516.63
7.4.110.0070.01016.54
7.4.100.0040.01316.66
7.4.90.0090.00916.34
7.4.80.0090.01219.39
7.4.70.0180.00316.52
7.4.60.0090.00616.42
7.4.50.0040.00716.53
7.4.40.0120.00916.46
7.4.30.0080.00816.72
7.4.10.0080.00914.84
7.4.00.0070.01015.06
7.3.330.0000.00513.24
7.3.320.0050.00213.11
7.3.310.0060.00016.23
7.3.300.0030.00316.35
7.3.290.0100.01016.41
7.3.280.0070.01216.37
7.3.270.0120.00617.40
7.3.260.0130.00616.48
7.3.250.0100.01116.59
7.3.240.0140.00916.54
7.3.230.0040.01516.39
7.3.210.0140.00716.49
7.3.200.0060.01219.39
7.3.190.0160.00016.39
7.3.180.0130.00316.54
7.3.170.0100.01016.48
7.3.160.0130.00316.45
7.3.130.0080.01014.83
7.3.120.0080.00714.90
7.3.110.0080.01114.69
7.3.100.0070.00814.76
7.3.90.0050.01114.76
7.3.80.0030.01014.93
7.3.70.0060.00814.79
7.3.60.0060.00814.62
7.3.50.0060.00614.66
7.3.40.0030.01014.84
7.3.30.0030.01114.77
7.3.20.0080.00716.67
7.3.10.0050.00916.56
7.3.00.0040.01016.63
7.2.330.0150.00316.45
7.2.320.0000.01716.73
7.2.310.0110.00616.70
7.2.300.0080.00816.77
7.2.290.0090.00616.46
7.2.260.0080.01114.77
7.2.250.0080.01014.96
7.2.240.0080.00915.28
7.2.230.0010.01415.07
7.2.220.0050.01115.14
7.2.210.0040.01015.01
7.2.200.0040.00815.14
7.2.190.0050.00914.94
7.2.180.0070.00814.99
7.2.170.0050.00915.02
7.2.160.0030.01115.03
7.2.150.0050.00816.92
7.2.140.0090.00716.97
7.2.130.0090.00616.89
7.2.120.0030.00716.82
7.2.110.0060.00616.68
7.2.100.0040.01117.03
7.2.90.0030.01216.88
7.2.80.0040.01016.93
7.2.70.0060.00816.82
7.2.60.0060.00816.86
7.2.50.0020.00916.76
7.2.40.0070.00717.02
7.2.30.0020.00916.86
7.2.20.0050.00916.86
7.2.10.0030.01016.87
7.2.00.0050.00817.72
7.1.330.0100.00515.66
7.1.320.0050.00515.67
7.1.310.0080.00515.68
7.1.300.0090.00515.64
7.1.290.0040.01015.67
7.1.280.0090.00415.71
7.1.270.0070.00715.69
7.1.260.0060.00715.70
7.1.250.0050.00915.83
7.1.240.0100.00415.52
7.1.230.0080.00615.76
7.1.220.0050.00815.66
7.1.210.0070.00515.61
7.1.200.0090.00415.72
7.1.190.0060.00415.68
7.1.180.0060.00815.50
7.1.170.0020.00815.70
7.1.160.0090.00615.59
7.1.150.0030.01015.72
7.1.140.0070.00715.63
7.1.130.0030.00915.75
7.1.120.0030.00815.65
7.1.110.0060.00515.86
7.1.100.0030.00816.36
7.1.90.0050.00515.74
7.1.80.0070.00815.59
7.1.70.0030.00816.23
7.1.60.0110.00617.11
7.1.50.0040.00916.05
7.1.40.0070.00715.84
7.1.30.0030.00815.78
7.1.20.0060.00615.77
7.1.10.0070.00815.58
7.1.00.0050.02517.98
7.0.330.0070.00415.21
7.0.320.0070.00515.38
7.0.310.0070.00615.30
7.0.300.0000.01115.22
7.0.290.0080.00515.29
7.0.280.0040.00915.34
7.0.270.0070.00615.26
7.0.260.0070.00615.27
7.0.250.0050.00615.18
7.0.240.0010.00815.41
7.0.230.0060.00715.23
7.0.220.0060.01015.21
7.0.210.0070.00615.39
7.0.200.0030.00815.70
7.0.190.0040.00715.17
7.0.180.0070.00515.32
7.0.170.0040.00815.41
7.0.160.0020.01115.41
7.0.150.0020.00915.25
7.0.140.0050.02717.58
7.0.130.0050.00715.24
7.0.120.0030.00515.47
7.0.110.0060.00815.30
7.0.100.0060.00715.33
7.0.90.0030.00915.19
7.0.80.0080.00515.36
7.0.70.0040.00715.28
7.0.60.0070.01816.99
7.0.50.0020.03416.29
7.0.40.0070.02915.60
7.0.30.0110.01715.53
7.0.20.0160.02415.67
7.0.10.0080.02115.67
7.0.00.0060.03515.72
5.6.400.0050.00414.66
5.6.390.0000.01014.39
5.6.380.0080.00514.57
5.6.370.0030.00914.46
5.6.360.0030.00614.29
5.6.350.0030.00614.58
5.6.340.0040.00814.72
5.6.330.0030.00814.62
5.6.320.0070.00414.30
5.6.310.0040.01114.57
5.6.300.0050.01014.37
5.6.290.0080.00414.32
5.6.280.0060.02916.44
5.6.270.0060.01114.29
5.6.260.0020.01114.42
5.6.250.0090.00514.48
5.6.240.0060.00514.40
5.6.230.0010.01014.26
5.6.220.0110.00314.47
5.6.210.0080.01916.44
5.6.200.0060.03415.75
5.6.190.0050.03616.43
5.6.180.1420.01816.43
5.6.170.0130.03216.47
5.6.160.0120.02016.35
5.6.150.0030.02715.58
5.6.140.0060.02015.50
5.6.130.0070.02415.61
5.6.120.0090.02816.44
5.6.110.0060.03516.54
5.6.100.0080.03216.45
5.6.90.0040.02916.69
5.6.80.0080.02516.44
5.6.70.1600.01516.43
5.6.60.0110.00314.29
5.6.50.0060.00514.46
5.6.40.0030.00914.03
5.6.30.0050.00714.29
5.6.20.0050.00914.23
5.6.10.0060.00814.10
5.6.00.0110.00314.23
5.5.380.0120.00314.23
5.5.370.0000.01514.26
5.5.360.0070.00914.46
5.5.350.0060.02616.31
5.5.340.0040.02315.50
5.5.330.0060.01916.21
5.5.320.0140.02216.33
5.5.310.0100.02016.33
5.5.300.0070.02715.51
5.5.290.0080.02315.58
5.5.280.0040.03216.52
5.5.270.0040.03416.61
5.5.260.0060.03416.26
5.5.250.0060.01616.39
5.5.240.0120.02216.11
5.5.230.0070.00614.24
5.5.220.0050.00514.29
5.5.210.0050.01014.28
5.5.200.0050.01014.01
5.5.190.0030.00913.99
5.5.180.0060.00614.09
5.5.170.0090.00814.05
5.5.160.0020.01114.25
5.5.150.0050.00814.17
5.5.140.0080.00314.24
5.5.130.0080.00614.10
5.5.120.0080.00614.29
5.5.110.0060.00414.12
5.5.100.0080.00514.20
5.5.90.0050.00914.28
5.5.80.0050.01014.20
5.5.70.0100.00213.99
5.5.60.0070.00814.25
5.5.50.0050.01213.93
5.5.40.0080.01014.06
5.5.30.0050.00914.21
5.5.20.0060.00614.25
5.5.10.0050.00814.29
5.5.00.0080.00714.09
5.4.450.0140.01513.82
5.4.440.0170.02213.79
5.4.430.0210.01813.84
5.4.420.0170.01913.71
5.4.410.0300.01613.61
5.4.400.0140.01613.52
5.4.390.0100.01721.82
5.4.380.0090.01913.47
5.4.370.0100.02313.39
5.4.360.0100.01913.46
5.4.350.0100.01913.48
5.4.340.0080.02213.55
5.4.330.0080.00510.79
5.4.320.0040.01611.41
5.4.310.0050.01511.48
5.4.300.0050.01711.47
5.4.290.0040.01811.38
5.4.280.0040.01611.42
5.4.270.0040.02011.45
5.4.260.0050.01811.26
5.4.250.0030.02011.42
5.4.240.0060.01511.24
5.4.230.0080.01511.36
5.4.220.0050.01611.40
5.4.210.0050.01611.46
5.4.200.0050.01811.33
5.4.190.0060.01711.36
5.4.180.0030.01911.33
5.4.170.0060.01411.43
5.4.160.0080.01511.41
5.4.150.0060.01611.36
5.4.140.0050.01811.25
5.4.130.0030.01711.28
5.4.120.0030.01811.32
5.4.110.0060.01711.19
5.4.100.0080.01511.28
5.4.90.0040.01511.26
5.4.80.0050.02111.40
5.4.70.0030.01811.35
5.4.60.0040.01711.35
5.4.50.0060.01511.32
5.4.40.0050.01711.22
5.4.30.0060.01611.34
5.4.20.0030.02011.23
5.4.10.0050.01611.23
5.4.00.0040.02111.02
5.3.290.0050.01911.20
5.3.280.0030.01911.11
5.3.270.0030.01911.17
5.3.260.0060.01711.16
5.3.250.0070.01611.15
5.3.240.0050.01911.09
5.3.230.0040.01611.10
5.3.220.0070.01411.04
5.3.210.0060.01611.12
5.3.200.0050.01711.06
5.3.190.0020.01911.08
5.3.180.0050.01511.14
5.3.170.0040.01611.19
5.3.160.0050.01611.12
5.3.150.0040.02011.16
5.3.140.0060.01911.15
5.3.130.0030.02111.09
5.3.120.0060.01711.16
5.3.110.0060.01811.19
5.3.100.0030.02110.98
5.3.90.0040.01811.00
5.3.80.0060.01710.96
5.3.70.0070.01510.92
5.3.60.0050.01710.95
5.3.50.0060.01610.84
5.3.40.0050.01710.90
5.3.30.0020.02010.89
5.3.20.0070.01610.80
5.3.10.0060.01910.73
5.3.00.0050.01810.73
5.2.170.0030.0329.18
5.2.160.0050.0299.18
5.2.150.0060.0309.18
5.2.140.0040.0359.18
5.2.130.0030.0319.14
5.2.120.0070.0269.14
5.2.110.0030.0319.15
5.2.100.0060.0369.14
5.2.90.0030.0389.14
5.2.80.0060.0299.14
5.2.70.0050.0309.14
5.2.60.0060.0299.10
5.2.50.0030.0319.07
5.2.40.0070.0269.04
5.2.30.0040.0309.02
5.2.20.0030.0349.01
5.2.10.0030.0308.93
5.2.00.0090.0288.79
5.1.60.0090.0278.08
5.1.50.0060.0268.07
5.1.40.0060.0278.05
5.1.30.0080.0248.41
5.1.20.0050.0278.43
5.1.10.0060.0258.15
5.1.00.0090.0228.15
5.0.50.0040.0206.63
5.0.40.0030.0206.49
5.0.30.0020.0336.30
5.0.20.0030.0196.27
5.0.10.0040.0196.25
5.0.00.0060.0306.24
4.4.90.0020.0164.78
4.4.80.0020.0174.75
4.4.70.0060.0124.75
4.4.60.0030.0164.75
4.4.50.0040.0144.77
4.4.40.0020.0274.71
4.4.30.0020.0164.76
4.4.20.0020.0164.84
4.4.10.0020.0164.85
4.4.00.0020.0264.76
4.3.110.0010.0184.67
4.3.100.0020.0154.67
4.3.90.0040.0134.63
4.3.80.0040.0234.59
4.3.70.0050.0134.63
4.3.60.0020.0164.63
4.3.50.0030.0164.63
4.3.40.0050.0224.54
4.3.30.0030.0153.29
4.3.20.0020.0173.27
4.3.10.0030.0143.22
4.3.00.0070.01343.92

preferences:
48.78 ms | 403 KiB | 5 Q