3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set( 'display_errors', 1 ); error_reporting( E_ALL ); $from = "dvsaikumar07@outlook.com"; $to = "dvsaikumar@live.com"; $subject = "PHP Mail Test script"; $message = "This is a test to check the PHP Mail functionality"; $headers = "From:" . $from; mail($to,$subject,$message, $headers); echo "Test email sent"; ?>

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.70.0080.00816.63
8.3.60.0090.00918.55
8.3.50.0110.00722.04
8.3.40.0090.00618.52
8.3.30.0120.00619.08
8.3.20.0050.00220.29
8.3.10.0050.00221.67
8.3.00.0040.00419.81
8.2.180.0190.00016.63
8.2.170.0080.01118.91
8.2.160.0030.01322.96
8.2.150.0080.00025.66
8.2.140.0090.00624.66
8.2.130.0000.00826.16
8.2.120.0070.00417.75
8.2.110.0060.00322.28
8.2.100.0090.00318.22
8.2.90.0040.00419.17
8.2.80.0030.00617.97
8.2.70.0030.00617.50
8.2.60.0120.00217.79
8.2.50.0030.00618.07
8.2.40.0070.00018.28
8.2.30.0040.00418.06
8.2.20.0070.00017.75
8.2.10.0040.00418.04
8.2.00.0000.00718.14
8.1.280.0090.00625.92
8.1.270.0110.00820.26
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0030.00622.10
8.1.230.0090.00319.18
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0000.00917.13
8.1.180.0030.00518.10
8.1.170.0100.00018.51
8.1.160.0000.00821.96
8.1.150.0040.00418.73
8.1.140.0030.00617.32
8.1.130.0000.00817.62
8.1.120.0040.00417.44
8.1.110.0040.00417.38
8.1.100.0000.00817.40
8.1.90.0060.00317.30
8.1.80.0030.00517.43
8.1.70.0070.00017.38
8.1.60.0030.00617.55
8.1.50.0040.00417.38
8.1.40.0030.00517.46
8.1.30.0000.00817.64
8.1.20.0070.00017.71
8.1.10.0040.00417.59
8.1.00.0040.00417.50
8.0.300.0040.00418.77
8.0.290.0000.00716.88
8.0.280.0050.00218.51
8.0.270.0040.00417.18
8.0.260.0000.00617.30
8.0.250.0030.00317.05
8.0.240.0030.00317.05
8.0.230.0070.00016.98
8.0.220.0000.00716.90
8.0.210.0040.00416.89
8.0.200.0000.00717.04
8.0.190.0030.00616.91
8.0.180.0020.00516.88
8.0.170.0070.00416.87
8.0.160.0000.00816.70
8.0.150.0050.00216.91
8.0.140.0050.00316.93
8.0.130.0050.00013.45
8.0.120.0040.00416.99
8.0.110.0060.00316.98
8.0.100.0040.00417.01
8.0.90.0050.00316.80
8.0.80.0100.00716.91
8.0.70.0000.00816.85
8.0.60.0040.00417.01
8.0.50.0040.00416.75
8.0.30.0060.01117.04
8.0.20.0120.00617.40
8.0.10.0040.00417.05
8.0.00.0110.01116.73
7.4.330.0050.00015.04
7.4.320.0030.00316.37
7.4.300.0040.00416.58
7.4.290.0030.00316.44
7.4.280.0020.00516.58
7.4.270.0060.00016.54
7.4.260.0000.00716.46
7.4.250.0040.00416.40
7.4.240.0050.00216.45
7.4.230.0070.00016.29
7.4.220.0080.00816.44
7.4.210.0120.00616.31
7.4.200.0000.00716.35
7.4.160.0130.00316.42
7.4.150.0150.00317.40
7.4.140.0100.01017.86
7.4.130.0130.00816.58
7.4.120.0110.00716.61
7.4.110.0040.01416.44
7.4.100.0150.00616.41
7.4.90.0170.00016.33
7.4.80.0070.01019.39
7.4.70.0080.00816.67
7.4.60.0030.01216.40
7.4.50.0000.00816.33
7.4.40.0060.00916.60
7.4.30.0050.01116.52
7.4.00.0000.01614.64
7.3.330.0000.00613.02
7.3.320.0000.00613.15
7.3.310.0030.00316.20
7.3.300.0030.00316.11
7.3.290.0100.00616.24
7.3.280.0100.00916.24
7.3.270.0100.00717.40
7.3.260.0110.00516.46
7.3.250.0100.00916.35
7.3.240.0100.00716.54
7.3.230.0140.00716.45
7.3.210.0060.01216.48
7.3.200.0100.01019.39
7.3.190.0090.00616.42
7.3.180.0030.01616.27
7.3.170.0190.00316.27
7.3.160.0100.00716.34
7.2.330.0050.01416.67
7.2.320.0090.00916.65
7.2.310.0070.01016.47
7.2.300.0060.01016.39
7.2.290.0030.01316.66
7.2.60.0060.00916.69
7.2.00.0080.01219.32
7.1.200.0070.00715.82
7.1.100.0030.00617.76
7.1.70.0040.00717.13
7.1.60.0070.01419.59
7.1.50.0100.01416.91
7.1.00.0130.06322.39
7.0.200.0140.01916.54
7.0.60.0200.06319.98
7.0.50.0100.05017.66
7.0.40.0030.08019.96
7.0.30.0200.04020.21
7.0.20.0270.08320.09
7.0.10.0200.06020.20
7.0.00.0130.04320.09
5.6.280.0000.07721.14
5.6.210.0130.05320.46
5.6.200.0100.08318.22
5.6.190.0170.07320.41
5.6.180.3400.03720.46
5.6.170.0230.06020.51
5.6.160.0130.08320.47
5.6.150.0070.07718.22
5.6.140.0030.04018.14
5.6.130.0000.04718.16
5.6.120.0070.05321.03
5.6.110.0130.08020.99
5.6.100.0030.04021.10
5.6.90.0100.07320.96
5.6.80.0030.04320.28
5.5.350.0170.03720.43
5.5.340.0070.04317.92
5.5.330.0270.03320.13
5.5.320.0300.04320.50
5.5.310.0270.07720.30
5.5.300.0100.08017.91
5.5.290.0000.05717.91
5.5.280.0070.08020.71
5.5.270.0030.08320.75
5.5.260.0130.07320.87
5.5.250.0030.09320.69
5.5.240.0200.06720.18
5.4.450.0200.06019.45
5.4.440.0500.06019.30
5.4.430.0100.05719.41
5.4.420.0130.05019.63
5.4.410.0070.05319.05
5.4.400.0400.05019.23
5.4.390.0500.05319.26
5.4.380.0470.05319.21
5.4.370.0530.04718.82
5.4.360.0530.05019.03
5.4.350.0430.05718.89
5.4.340.0530.05019.01
5.4.320.0500.05319.16
5.4.310.0500.04719.34
5.4.300.0200.04319.22
5.4.290.0070.05719.30
5.4.280.0100.05018.84
5.4.270.0070.05719.34
5.4.260.0070.05719.19
5.4.250.0100.05319.25
5.4.240.0170.04719.05
5.4.230.0070.05719.00
5.4.220.0130.05019.11
5.4.210.0100.05319.16
5.4.200.0030.05316.93
5.4.190.0070.05319.14
5.4.180.0200.05319.04
5.4.170.0330.05319.19
5.4.160.0100.05318.90
5.4.150.0170.05719.16
5.4.140.0430.04716.35
5.4.130.0470.05016.42
5.4.120.0100.05016.13
5.4.110.0130.04316.22
5.4.100.0200.04316.12
5.4.90.0070.05316.41
5.4.80.0170.04316.44
5.4.70.0100.05316.38
5.4.60.0170.04316.51
5.4.50.0100.05316.51
5.4.40.0130.05016.20
5.4.30.0100.05016.48
5.4.20.0070.05016.45
5.4.10.0070.05016.34
5.4.00.0070.05315.88
5.3.290.0130.05714.67
5.3.280.0200.04714.43
5.3.270.0100.05714.61
5.3.260.0200.05014.48
5.3.250.0100.05314.52
5.3.240.0130.05314.54
5.3.230.0170.05314.52
5.3.220.0200.04714.36
5.3.210.0070.06014.51
5.3.200.0070.06014.60
5.3.190.0170.04714.40
5.3.180.0100.05314.40
5.3.170.0100.05714.42
5.3.160.0170.04714.40
5.3.150.0170.04714.50
5.3.140.0200.04314.45
5.3.130.0100.05014.45
5.3.120.0100.05014.39
5.3.110.0070.05314.56
5.3.100.0300.04714.06
5.3.90.0570.04713.86
5.3.80.0530.05013.88
5.3.70.0570.04713.85
5.3.60.0530.05013.84
5.3.50.0570.04313.80
5.3.40.0500.05013.93
5.3.30.0530.04713.84
5.3.20.0400.05313.57
5.3.10.0470.05313.54
5.3.00.0500.05013.62
5.2.170.0400.04311.01
5.2.160.0530.03310.97
5.2.150.0470.04011.07
5.2.140.0430.04010.97
5.2.130.0400.04010.97
5.2.120.0430.04311.20
5.2.110.0400.04011.01
5.2.100.0430.03711.04
5.2.90.0470.03310.89
5.2.80.0370.04710.96
5.2.70.0400.04310.93
5.2.60.0430.03710.94
5.2.50.0400.04010.80
5.2.40.0330.03710.82
5.2.30.0330.03310.81
5.2.20.0100.03310.80
5.2.10.0070.03710.88
5.2.00.0070.04010.57
5.1.60.0200.0279.84
5.1.50.0330.0339.92
5.1.40.0400.02710.06
5.1.30.0330.03310.40
5.1.20.0370.03310.37
5.1.10.0370.0379.94
5.1.00.0330.0379.95
5.0.50.0200.0278.63
5.0.40.0200.0278.50
5.0.30.0170.0438.21
5.0.20.0170.0308.30
5.0.10.0200.0278.07
5.0.00.0200.0508.15
4.4.90.0130.0235.77
4.4.80.0130.0235.76
4.4.70.0000.0235.73
4.4.60.0000.0235.79
4.4.50.0070.0205.82
4.4.40.0030.0335.86
4.4.30.0070.0175.77
4.4.20.0000.0235.91
4.4.10.0030.0205.80
4.4.00.0000.0375.92
4.3.110.0130.0235.75
4.3.100.0230.0135.76
4.3.90.0130.0235.76
4.3.80.0130.0375.64
4.3.70.0070.0175.69
4.3.60.0000.0235.80
4.3.50.0070.0175.64
4.3.40.0170.0305.61
4.3.30.0030.0204.59
4.3.20.0030.0234.53
4.3.10.0000.0234.46
4.3.00.0070.0277.15

preferences:
61.08 ms | 401 KiB | 5 Q