3v4l.org

run code in 300+ PHP versions simultaneously
<?php $to = 'sainikhil013@outlook.com'; $subject = 'PHP test'; $body = '<h1>Hello Amar'; $headers = 'From: Test Amar'."\r\n"; $headers .= 'Reply-To: sainikhil013@outlook.com'."\r\n"; $headers .= 'Return-Path: from@email.me'."\r\n"; $headers .= 'X-Mailer: PHP5'."\n"; $headers .= 'MIME-Version: 1.0'."\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1'."\r\n"; mail($to, $subject, $body, $headers); ?>

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.4.20.0160.00017.96
8.4.10.0030.01317.86
8.3.150.0090.00918.94
8.3.140.0180.00016.68
8.3.130.0070.00318.55
8.3.120.0060.00320.73
8.3.110.0050.00320.94
8.3.100.0030.00616.57
8.3.90.0060.00326.77
8.3.80.0030.00619.36
8.3.70.0180.00316.63
8.3.60.0070.01418.68
8.3.50.0120.01221.92
8.3.40.0170.00018.79
8.3.30.0070.00719.04
8.3.20.0000.00720.28
8.3.10.0050.00322.14
8.3.00.0080.00022.45
8.2.270.0150.00318.55
8.2.260.0030.01020.68
8.2.250.0120.00316.84
8.2.240.0030.00617.55
8.2.230.0030.00622.58
8.2.220.0030.00624.06
8.2.210.0030.00626.77
8.2.200.0090.00018.88
8.2.190.0170.00318.27
8.2.180.0070.00718.29
8.2.170.0140.00022.96
8.2.160.0100.00320.80
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0080.00026.16
8.2.120.0000.00817.75
8.2.110.0030.00720.82
8.2.100.0040.00717.84
8.2.90.0080.00019.04
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0000.00917.93
8.2.50.0030.00518.07
8.2.40.0000.00818.34
8.2.30.0000.00818.12
8.2.20.0040.00417.79
8.2.10.0040.00417.75
8.2.00.0020.00517.80
8.1.310.0120.00618.56
8.1.300.0030.00616.44
8.1.290.0050.00530.84
8.1.280.0100.01025.92
8.1.270.0050.00322.26
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0060.00322.14
8.1.230.0040.00717.82
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0060.00317.38
8.1.190.0000.00817.22
8.1.180.0090.00018.10
8.1.170.0050.00318.58
8.1.160.0040.00418.91
8.1.150.0000.00718.57
8.1.140.0040.00417.27
8.1.130.0000.00717.83
8.1.120.0000.00817.41
8.1.110.0000.00817.27
8.1.100.0000.00717.42
8.1.90.0040.00417.28
8.1.80.0030.00317.44
8.1.70.0000.00717.27
8.1.60.0050.00317.43
8.1.50.0040.00417.57
8.1.40.0000.00917.49
8.1.30.0060.00317.70
8.1.20.0030.00517.63
8.1.10.0030.00517.55
8.1.00.0070.00017.38
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.30
8.0.270.0000.00716.82
8.0.260.0060.00016.87
8.0.250.0000.00716.93
8.0.240.0050.00316.95
8.0.230.0040.00416.95
8.0.220.0030.00316.89
8.0.210.0000.00716.81
8.0.200.0000.00616.89
8.0.190.0040.00416.97
8.0.180.0000.01016.98
8.0.170.0060.00316.81
8.0.160.0030.00516.88
8.0.150.0030.00516.74
8.0.140.0000.00716.85
8.0.130.0060.00013.36
8.0.120.0040.00416.84
8.0.110.0030.00516.86
8.0.100.0080.00016.78
8.0.90.0000.00716.77
8.0.80.0060.00916.94
8.0.70.0000.00816.87
8.0.60.0050.00316.84
8.0.50.0000.00716.71
8.0.30.0130.00717.02
8.0.20.0100.00917.40
8.0.10.0020.00516.91
8.0.00.0100.00816.83
7.4.330.0050.00015.06
7.4.320.0060.00016.57
7.4.300.0040.00416.56
7.4.290.0070.00016.59
7.4.280.0030.00316.59
7.4.270.0030.00316.46
7.4.260.0070.00316.39
7.4.250.0050.00216.27
7.4.240.0030.00316.44
7.4.230.0030.00316.43
7.4.220.0090.00916.59
7.4.210.0050.01016.56
7.4.200.0070.00016.42
7.4.190.0080.00016.39
7.4.160.0060.00916.39
7.4.150.0090.00917.40
7.4.140.0100.00717.86
7.4.130.0160.00716.43
7.4.120.0110.00916.58
7.4.110.0060.01016.59
7.4.100.0030.01616.48
7.4.90.0140.00316.35
7.4.80.0100.01319.39
7.4.70.0090.00616.45
7.4.60.0130.00316.48
7.4.50.0050.00016.36
7.4.40.0040.01122.77
7.4.30.0080.00816.33
7.4.10.0060.01214.91
7.4.00.0090.00614.95
7.3.330.0050.00013.12
7.3.320.0000.00612.98
7.3.310.0000.00616.20
7.3.300.0030.00316.25
7.3.290.0030.01016.20
7.3.280.0120.00716.19
7.3.270.0150.00917.40
7.3.260.0060.01116.20
7.3.250.0160.00516.23
7.3.240.0070.01116.39
7.3.230.0070.01016.39
7.3.210.0030.01316.25
7.3.200.0070.01019.39
7.3.190.0120.00616.32
7.3.180.0150.00016.27
7.3.170.0090.00916.31
7.3.160.0060.01016.21
7.3.130.0100.00714.61
7.3.120.0090.00514.69
7.3.110.0090.00914.74
7.3.100.0070.00714.55
7.3.90.0060.00914.75
7.3.80.0110.00814.42
7.3.70.0070.00714.63
7.3.60.0030.01014.52
7.3.50.0120.00614.80
7.3.40.0060.00614.57
7.3.30.0030.01014.71
7.3.20.0110.00716.39
7.3.10.0040.01116.70
7.3.00.0000.00816.61
7.2.330.0140.00516.28
7.2.320.0130.00616.50
7.2.310.0150.00316.47
7.2.300.0080.00816.46
7.2.290.0120.00416.53
7.2.260.0040.01114.73
7.2.250.0040.01114.69
7.2.240.0110.00314.74
7.2.230.0060.00914.64
7.2.220.0060.00914.75
7.2.210.0060.00915.07
7.2.200.0030.00914.45
7.2.190.0030.01614.76
7.2.180.0040.00714.96
7.2.170.0000.01614.70
7.2.160.0000.01614.60
7.2.150.0110.00416.86
7.2.140.0040.00816.83
7.2.130.0150.00416.63
7.2.120.0060.01216.84
7.2.110.0030.01316.85
7.2.100.0070.00316.68
7.2.90.0100.00616.92
7.2.80.0060.01016.49
7.2.70.0060.00616.91
7.2.60.0060.00616.87
7.2.50.0070.00716.84
7.2.40.0070.00716.51
7.2.30.0030.00916.92
7.2.20.0040.01216.67
7.2.10.0090.00616.73
7.2.00.0050.00918.11
7.1.330.0040.00815.81
7.1.320.0000.01915.91
7.1.310.0050.00515.55
7.1.300.0090.00615.74
7.1.290.0050.00515.75
7.1.280.0070.00715.70
7.1.270.0080.00415.74
7.1.260.0050.01115.57
7.1.250.0030.00915.77
7.1.240.0040.01115.86
7.1.230.0000.01115.88
7.1.220.0070.00715.83
7.1.210.0030.00715.60
7.1.200.0090.00315.73
7.1.190.0030.00615.40
7.1.180.0000.01315.88
7.1.170.0070.00715.88
7.1.160.0030.00715.69
7.1.150.0080.00415.96
7.1.140.0060.00615.85
7.1.130.0080.00315.61
7.1.120.0100.00315.75
7.1.110.0000.01515.91
7.1.100.0400.00715.68
7.1.90.0000.01415.86
7.1.80.0090.00915.96
7.1.70.0020.00916.42
7.1.60.0070.01217.65
7.1.50.0030.00916.35
7.1.40.0080.00015.73
7.1.30.0090.00615.88
7.1.20.0060.00615.87
7.1.10.0060.00615.89
7.1.00.0020.04219.01
7.0.330.0000.01715.39
7.0.320.0080.00815.38
7.0.310.0080.00415.24
7.0.300.0070.00315.04
7.0.290.0060.00315.62
7.0.280.0070.00715.32
7.0.270.0040.00815.54
7.0.260.0030.00915.17
7.0.250.0090.00615.42
7.0.240.0000.01215.58
7.0.230.0050.00515.39
7.0.220.0090.00315.30
7.0.210.0000.01415.44
7.0.200.0040.01116.17
7.0.190.0070.00715.32
7.0.180.0110.00315.25
7.0.170.0060.00615.36
7.0.160.0060.00315.29
7.0.150.0030.00915.20
7.0.140.0020.04318.64
7.0.130.0100.00315.39
7.0.120.0060.01015.53
7.0.110.0060.00615.30
7.0.100.0030.00915.45
7.0.90.0030.00915.55
7.0.80.0030.01315.09
7.0.70.0060.00615.34
7.0.60.0030.03217.71
7.0.50.0100.03016.53
7.0.40.0050.04016.81
7.0.30.0170.03516.91
7.0.20.0150.04616.87
7.0.10.0070.03016.85
7.0.00.0110.04216.86
5.6.400.0050.01114.24
5.6.390.0040.00814.34
5.6.380.0030.01014.34
5.6.370.0090.00014.11
5.6.360.0090.00314.41
5.6.350.0090.00614.30
5.6.340.0040.00414.40
5.6.330.0000.01514.39
5.6.320.0030.00614.36
5.6.310.0080.00314.34
5.6.300.0080.00414.33
5.6.290.0110.00014.48
5.6.280.0030.04517.52
5.6.270.0080.00814.21
5.6.260.0060.00314.31
5.6.250.0030.00614.38
5.6.240.0000.01514.55
5.6.230.0100.00714.02
5.6.220.0000.01114.18
5.6.210.0050.04217.41
5.6.200.0020.04616.18
5.6.190.0120.02217.29
5.6.180.0130.02417.47
5.6.170.0150.03417.46
5.6.160.0050.05217.22
5.6.150.0120.04316.27
5.6.140.0080.04316.29
5.6.130.0080.02516.21
5.6.120.0030.03217.62
5.6.110.0140.03817.63
5.6.100.0130.03817.65
5.6.90.0020.02517.59
5.6.80.0050.03517.27
5.6.70.0130.00314.31
5.6.60.0060.00314.41
5.6.50.0060.00614.08
5.6.40.0070.00314.14
5.6.30.0040.01414.39
5.6.20.0000.01114.02
5.6.10.0000.01514.11
5.6.00.0040.00414.24
5.5.380.0040.01114.13
5.5.370.0030.01314.10
5.5.360.0030.01014.41
5.5.350.0170.04117.40
5.5.340.0050.04816.07
5.5.330.0080.04617.22
5.5.320.0190.04017.28
5.5.310.0130.02117.22
5.5.300.0070.02815.90
5.5.290.0030.04915.95
5.5.280.0040.02917.45
5.5.270.0020.02917.59
5.5.260.0060.04117.54
5.5.250.0020.04017.44
5.5.240.0050.02317.32
5.5.230.0030.00714.37
5.5.220.0030.00614.34
5.5.210.0030.00914.10
5.5.200.0030.01014.09
5.5.190.0000.01614.02
5.5.180.0030.01414.21
5.5.170.0070.00714.27
5.5.160.0070.00414.18
5.5.150.0060.00914.00
5.5.140.0060.00914.21
5.5.130.0030.00614.07
5.5.120.0070.01014.20
5.5.110.0100.00714.00
5.5.100.0080.00513.87
5.5.90.0000.00913.95
5.5.80.0060.00614.20
5.5.70.0070.01114.06
5.5.60.0000.01414.14
5.5.50.0030.00714.34
5.5.40.0070.00413.70
5.5.30.0040.00814.26
5.5.20.0130.00013.99
5.5.10.0060.00914.19
5.5.00.0030.01014.13
5.4.450.0440.03416.16
5.4.440.0470.04016.26
5.4.430.0150.04116.31
5.4.420.0450.03116.20
5.4.410.0470.03315.97
5.4.400.0180.02815.88
5.4.390.0250.03515.83
5.4.380.0120.02715.81
5.4.370.0070.02215.79
5.4.360.0050.02515.87
5.4.350.0040.02412.50
5.4.340.0080.01712.50
5.4.330.0030.00312.98
5.4.320.0050.03512.74
5.4.310.0080.02012.74
5.4.300.0040.02412.74
5.4.290.0050.02512.74
5.4.280.0060.03212.68
5.4.270.0070.02612.68
5.4.260.0080.03212.67
5.4.250.0040.02712.67
5.4.240.0070.02512.67
5.4.230.0080.02312.67
5.4.220.0060.03112.67
5.4.210.0030.02512.67
5.4.200.0070.02712.67
5.4.190.0110.02612.67
5.4.180.0080.03012.67
5.4.170.0110.03712.68
5.4.160.0080.02512.67
5.4.150.0070.02212.67
5.4.140.0030.03512.51
5.4.130.0110.02712.51
5.4.120.0040.03412.48
5.4.110.0080.03212.48
5.4.100.0070.02812.48
5.4.90.0090.03012.48
5.4.80.0080.03412.48
5.4.70.0040.03112.48
5.4.60.0060.02312.48
5.4.50.0080.02912.48
5.4.40.0050.03112.47
5.4.30.0050.04212.47
5.4.20.0050.03312.47
5.4.10.0070.02012.48
5.4.00.0060.02412.22
5.3.290.0050.02512.89
5.3.280.0060.02112.84
5.3.270.0050.02312.85
5.3.260.0050.02412.85
5.3.250.0050.02712.85
5.3.240.0060.02612.85
5.3.230.0080.02112.84
5.3.220.0060.02112.83
5.3.210.0050.03612.83
5.3.200.0090.03612.83
5.3.190.0070.02812.83
5.3.180.0110.03312.83
5.3.170.0070.03012.82
5.3.160.0080.02812.83
5.3.150.0060.03512.82
5.3.140.0060.03412.82
5.3.130.0170.04312.82
5.3.120.0100.02912.82
5.3.110.0050.03312.82
5.3.100.0050.02212.55
5.3.90.0040.02912.53
5.3.80.0070.02112.53
5.3.70.0020.03212.53
5.3.60.0040.03112.52
5.3.50.0050.02912.49
5.3.40.0050.02412.49
5.3.30.0040.02012.46
5.3.20.0040.02212.35
5.3.10.0050.02212.33
5.3.00.0050.02812.33
5.2.170.0060.0349.17
5.2.160.0070.0429.18
5.2.150.0070.0329.18
5.2.140.0040.0349.18
5.2.130.0040.0359.13
5.2.120.0100.0379.14
5.2.110.0110.0399.14
5.2.100.0120.0359.14
5.2.90.0030.0759.14
5.2.80.0070.0369.14
5.2.70.0080.0529.14
5.2.60.0230.0569.09
5.2.50.0200.0609.06
5.2.40.0080.0309.04
5.2.30.0090.0429.01
5.2.20.0100.0569.00
5.2.10.0080.0308.91
5.2.00.0100.0348.77
5.1.60.0120.0618.05
5.1.50.0210.0568.05
5.1.40.0090.0578.04
5.1.30.0050.0288.38
5.1.20.0140.0468.41
5.1.10.0060.0388.13
5.1.00.0090.0348.13
5.0.50.0100.0546.60
5.0.40.0040.0306.47
5.0.30.0050.0456.28
5.0.20.0050.0296.25
5.0.10.0090.0366.22
5.0.00.0050.0506.22
4.4.90.0050.0174.78
4.4.80.0040.0164.75
4.4.70.0020.0174.76
4.4.60.0010.0184.75
4.4.50.0050.0154.77
4.4.40.0060.0244.71
4.4.30.0010.0184.76
4.4.20.0040.0204.84
4.4.10.0030.0184.84
4.4.00.0150.0394.76
4.3.110.0030.0174.67
4.3.100.0100.0184.66
4.3.90.0080.0184.64
4.3.80.0040.0274.59
4.3.70.0030.0244.63
4.3.60.0030.0174.63
4.3.50.0050.0214.63
4.3.40.0030.0324.53
4.3.30.0050.0433.27
4.3.20.0060.0213.25
4.3.10.0020.0443.21
4.3.00.0070.0276.79

preferences:
34.46 ms | 406 KiB | 6 Q