3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set("SMTP", "aspmx.l.google.com"); ini_set("sendmail_from", "pieteralberts.tcp@gmail.com"); $message = "The mail message was sent with the following mail setting:\r\nSMTP = aspmx.l.google.com\r\nsmtp_port = 25\r\nsendmail_from = YourMail@address.com"; $headers = "From: pieteralberts.tcp@gmail.com"; mail("pieteralberts.tcp@gmail.com", "Testing", $message, $headers); echo "Check your email now....<BR/>"; ?>

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.60.0090.00916.62
8.3.50.0150.00721.94
8.3.40.0120.00318.84
8.3.30.0070.01019.10
8.3.20.0000.00720.38
8.3.10.0000.00723.48
8.3.00.0040.00420.57
8.2.180.0090.01216.50
8.2.170.0150.00622.96
8.2.160.0070.00722.12
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0050.00226.16
8.2.120.0080.00022.26
8.2.110.0030.00622.20
8.2.100.0060.00617.72
8.2.90.0050.00319.27
8.2.80.0040.00417.97
8.2.70.0040.00417.25
8.2.60.0030.00617.80
8.2.50.0040.00418.07
8.2.40.0000.00719.52
8.2.30.0030.00518.00
8.2.20.0040.00417.52
8.2.10.0050.00217.60
8.2.00.0000.00717.65
8.1.280.0070.01025.92
8.1.270.0060.00323.82
8.1.260.0050.00226.35
8.1.250.0050.00328.09
8.1.240.0060.00323.82
8.1.230.0060.00619.09
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0120.00017.13
8.1.190.0050.00317.52
8.1.180.0050.00318.10
8.1.170.0000.00818.57
8.1.160.0000.00721.88
8.1.150.0040.00418.63
8.1.140.0000.00717.23
8.1.130.0030.00317.73
8.1.120.0020.00517.38
8.1.110.0040.00417.29
8.1.100.0040.00417.32
8.1.90.0030.00617.43
8.1.80.0000.00717.43
8.1.70.0000.00717.36
8.1.60.0050.00517.55
8.1.50.0080.00017.50
8.1.40.0040.00417.39
8.1.30.0040.00417.62
8.1.20.0000.00717.55
8.1.10.0000.00717.54
8.1.00.0030.00517.49
8.0.300.0050.00218.77
8.0.290.0040.00416.93
8.0.280.0030.00518.38
8.0.270.0030.00317.20
8.0.260.0000.00616.88
8.0.250.0000.00616.84
8.0.240.0040.00316.89
8.0.230.0000.00716.86
8.0.220.0000.00616.93
8.0.210.0040.00416.78
8.0.200.0040.00416.83
8.0.190.0060.00316.98
8.0.180.0000.00716.90
8.0.170.0030.00516.82
8.0.160.0040.00416.83
8.0.150.0070.00016.71
8.0.140.0030.00316.83
8.0.130.0000.00613.32
8.0.120.0040.00416.76
8.0.110.0040.00416.86
8.0.100.0030.00616.74
8.0.90.0070.00016.80
8.0.80.0040.01116.88
8.0.70.0070.00016.79
8.0.60.0040.00416.71
8.0.50.0070.00016.83
8.0.30.0140.00817.11
8.0.20.0110.00717.40
8.0.10.0030.00517.00
8.0.00.0110.00616.65
7.4.330.0000.00515.05
7.4.320.0040.00416.46
7.4.300.0030.00316.50
7.4.290.0000.00616.43
7.4.280.0070.00016.58
7.4.270.0000.00716.53
7.4.260.0000.00716.38
7.4.250.0000.00716.39
7.4.240.0070.00016.54
7.4.230.0030.00516.42
7.4.220.0120.00616.50
7.4.210.0100.00716.53
7.4.200.0000.00716.52
7.4.190.0000.00716.53
7.4.160.0030.01316.60
7.4.150.0070.01017.40
7.4.140.0150.00617.86
7.4.130.0090.00816.59
7.4.120.0090.00716.52
7.4.110.0100.00716.52
7.4.100.0030.01316.43
7.4.90.0090.00916.55
7.4.80.0130.01016.57
7.4.70.0100.01016.49
7.4.60.0060.01316.64
7.4.50.0040.00416.26
7.4.40.0090.00522.77
7.4.30.0110.00616.47
7.4.00.0030.01014.65
7.3.330.0050.00013.02
7.3.320.0050.00013.13
7.3.310.0030.00316.34
7.3.300.0030.00316.22
7.3.290.0120.00616.22
7.3.280.0060.01016.22
7.3.270.0090.00817.40
7.3.260.0110.00716.23
7.3.250.0130.00316.40
7.3.240.0140.00316.24
7.3.230.0060.00916.39
7.3.210.0070.01116.53
7.3.200.0100.00719.39
7.3.190.0070.01116.47
7.3.180.0070.01016.47
7.3.170.0040.01116.27
7.3.160.0040.01116.36
7.3.120.0000.01714.75
7.2.330.0080.00816.39
7.2.320.0110.01016.50
7.2.310.0080.01616.54
7.2.300.0120.01116.37
7.2.290.0100.00716.61
7.2.60.0170.00016.93
7.1.200.0070.00715.79
7.1.70.0000.00717.08
7.1.60.0110.01119.29
7.1.50.0070.01416.86
7.1.00.0030.07722.33
7.0.200.0070.00316.79
7.0.140.0030.07022.05
7.0.60.0130.06719.82
7.0.50.0100.07717.77
7.0.40.0030.04320.09
7.0.30.0370.07020.09
7.0.20.0230.07720.16
7.0.10.0070.08720.02
7.0.00.0130.07720.19
5.6.280.0030.07321.00
5.6.210.0030.08320.56
5.6.200.0170.07718.14
5.6.190.0130.04320.77
5.6.180.0230.07320.27
5.6.170.0270.04020.52
5.6.160.0100.08020.46
5.6.150.0070.04018.13
5.6.140.0070.05318.18
5.6.130.0070.07718.18
5.6.120.0030.04320.96
5.6.110.0130.07721.06
5.6.100.0100.07021.00
5.6.90.0200.07320.96
5.6.80.0170.07320.50
5.6.70.4430.04720.36
5.5.350.0130.04320.40
5.5.340.0100.07317.92
5.5.330.0030.04020.13
5.5.320.0100.07320.34
5.5.310.0300.08020.13
5.5.300.0070.04017.90
5.5.290.0000.04317.98
5.5.280.0130.07720.89
5.5.270.0070.04020.88
5.5.260.0130.06720.86
5.5.250.0030.04720.54
5.5.240.0300.07320.15
5.4.450.0270.05019.13
5.4.440.0230.05019.41
5.4.430.0870.04319.15
5.4.420.0630.00019.50
5.4.410.0100.06319.07
5.4.400.0830.06018.88
5.4.390.1370.06718.80
5.4.380.0300.05018.63
5.4.370.0230.04318.58
5.4.360.0130.03318.76
5.4.350.0120.03512.02
5.4.340.0100.04012.02
5.4.320.0110.03812.50
5.4.310.0060.03812.50
5.4.300.0120.03812.50
5.4.290.0130.03912.49
5.4.280.0050.04312.37
5.4.270.0050.04112.37
5.4.260.0030.04012.37
5.4.250.0080.03812.37
5.4.240.0090.04012.37
5.4.230.0060.05612.36
5.4.220.0050.05112.36
5.4.210.0100.05212.36
5.4.200.0070.05412.36
5.4.190.0080.09212.36
5.4.180.0090.06512.36
5.4.170.0080.03912.37
5.4.160.0050.05112.37
5.4.150.0080.03412.36
5.4.140.0080.04012.05
5.4.130.0130.06212.04
5.4.120.0080.05311.99
5.4.110.0130.06311.98
5.4.100.0100.05811.99
5.4.90.0040.05711.99
5.4.80.0070.05411.99
5.4.70.0070.06111.98
5.4.60.0030.04411.98
5.4.50.0090.05111.98
5.4.40.0070.05311.97
5.4.30.0060.04511.97
5.4.20.0100.04811.97
5.4.10.0120.04811.97
5.4.00.0090.05611.46
5.3.290.0080.04612.80
5.3.280.0070.05612.71
5.3.270.0090.05712.72
5.3.260.0120.05912.72
5.3.250.0110.05012.72
5.3.240.0100.05412.72
5.3.230.0090.04712.71
5.3.220.0080.03812.68
5.3.210.0040.05112.68
5.3.200.0080.05412.68
5.3.190.0050.05112.68
5.3.180.0100.06612.67
5.3.170.0100.05412.67
5.3.160.0110.05412.67
5.3.150.0040.05412.68
5.3.140.0110.05012.66
5.3.130.0110.05812.65
5.3.120.0050.05812.66
5.3.110.0050.04212.65
5.3.100.0120.04612.12
5.3.90.0080.05112.09
5.3.80.0110.04612.07
5.3.70.0070.04912.07
5.3.60.0130.04412.06
5.3.50.0140.04712.00
5.3.40.0230.06012.00
5.3.30.0150.05311.95
5.3.20.0110.04911.73
5.3.10.0090.04811.69
5.3.00.0060.03911.69
5.2.170.0100.0349.18
5.2.160.0080.0429.18
5.2.150.0210.0829.18
5.2.140.0080.0419.18
5.2.130.0050.0539.13
5.2.120.0090.0389.13
5.2.110.0040.0519.14
5.2.100.0100.0399.14
5.2.90.0080.0449.14
5.2.80.0070.0449.14
5.2.70.0060.0479.13
5.2.60.0090.0549.09
5.2.50.0060.0529.06
5.2.40.0080.0539.03
5.2.30.0050.0419.02
5.2.20.0080.0378.99
5.2.10.0050.0288.90
5.2.00.0040.0368.77
5.1.60.0020.0258.05
5.1.50.0030.0268.05
5.1.40.0050.0288.03
5.1.30.0050.0248.38
5.1.20.0080.0228.40
5.1.10.0050.0298.13
5.1.00.0030.0288.13
5.0.50.0030.0216.60
5.0.40.0040.0206.46
5.0.30.0040.0356.27
5.0.20.0020.0226.24
5.0.10.0050.0196.22
5.0.00.0040.0316.22
4.4.90.0020.0174.78
4.4.80.0020.0174.76
4.4.70.0040.0204.75
4.4.60.0030.0154.75
4.4.50.0030.0154.77
4.4.40.0020.0264.71
4.4.30.0030.0164.76
4.4.20.0060.0144.85
4.4.10.0050.0164.85
4.4.00.0020.0274.76
4.3.110.0050.0154.67
4.3.100.0080.0204.67
4.3.90.0040.0214.63
4.3.80.0020.0264.58
4.3.70.0060.0204.63
4.3.60.0010.0234.63
4.3.50.0020.0244.63
4.3.40.0040.0354.54
4.3.30.0030.0183.28
4.3.20.0040.0383.25
4.3.10.0010.0163.21
4.3.00.0000.0276.82

preferences:
48.53 ms | 401 KiB | 5 Q