3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sub = "You will pay!"; $msg = "You will lose this game!!!"; for ($i = 1; $i < 9999999; $i++){ echo "Sending!"; mail("4352418247@messaging.nextel.com", $sub, $msg); } echo "done!"; ?>

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.0030.01716.88
8.3.60.0040.01116.75
8.3.50.0100.00821.89
8.3.40.0120.00618.80
8.3.30.0120.00318.85
8.3.20.0000.00720.25
8.3.10.0050.00323.65
8.3.00.0030.00520.77
8.2.190.0090.00918.27
8.2.180.0150.00416.63
8.2.170.0140.00422.96
8.2.160.0070.01320.47
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0140.00326.16
8.2.120.0040.00422.29
8.2.110.0090.00020.39
8.2.100.0080.00317.97
8.2.90.0000.00819.18
8.2.80.0030.00617.97
8.2.70.0030.00517.63
8.2.60.0060.00317.93
8.2.50.0060.00318.10
8.2.40.0040.00418.09
8.2.30.0000.00717.86
8.2.20.0030.00517.66
8.2.10.0050.00317.74
8.2.00.0050.00217.71
8.1.280.0000.01825.92
8.1.270.0030.00621.90
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0100.00722.67
8.1.230.0040.00717.70
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0080.00017.23
8.1.190.0000.00817.22
8.1.180.0000.00818.10
8.1.170.0080.00018.65
8.1.160.0040.00422.00
8.1.150.0040.00418.57
8.1.140.0040.00417.35
8.1.130.0040.00417.67
8.1.120.0000.00717.43
8.1.110.0060.00317.44
8.1.100.0040.00417.27
8.1.90.0040.00417.42
8.1.80.0030.00717.41
8.1.70.0000.00717.25
8.1.60.0060.00317.42
8.1.50.0000.00817.46
8.1.40.0000.00817.40
8.1.30.0030.00517.51
8.1.20.0040.00417.59
8.1.10.0040.00417.52
8.1.00.0040.00417.38
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.49
8.0.270.0030.00517.20
8.0.260.0000.00816.80
8.0.250.0070.00016.90
8.0.240.0030.00316.98
8.0.230.0040.00416.92
8.0.220.0050.00316.89
8.0.210.0040.00416.75
8.0.200.0000.00616.85
8.0.190.0040.00416.83
8.0.180.0050.00316.80
8.0.170.0040.00416.93
8.0.160.0040.00316.79
8.0.150.0030.00316.87
8.0.140.0050.00316.74
8.0.130.0200.02813.36
8.0.120.0080.00016.80
8.0.110.0000.00716.70
8.0.100.0040.00416.73
8.0.90.0000.00716.71
8.0.80.0100.01016.82
8.0.70.0020.00516.79
8.0.60.0080.00016.88
8.0.50.0000.00716.89
8.0.30.0120.00917.01
8.0.20.0100.01017.40
8.0.10.0000.00816.87
8.0.00.0070.01016.68
7.4.330.0060.00015.08
7.4.320.0080.00316.46
7.4.300.0040.00416.46
7.4.290.0040.00716.41
7.4.280.0090.00016.23
7.4.270.0060.00316.30
7.4.260.0030.00516.28
7.4.250.0000.00816.34
7.4.240.0040.00416.26
7.4.230.0000.00716.42
7.4.220.0180.01816.36
7.4.210.0130.00616.26
7.4.200.0050.00316.30
7.4.190.0000.00816.31
7.4.160.0490.00716.32
7.4.150.0460.02117.40
7.4.140.0220.01917.86
7.4.130.0260.01116.43
7.4.120.0130.01016.41
7.4.110.0160.01316.37
7.4.100.0160.01616.61
7.4.90.0420.01016.28
7.4.80.0180.00919.39
7.4.70.0320.00916.28
7.4.60.0170.01416.36
7.4.50.0060.00616.12
7.4.40.0070.01122.77
7.4.30.0070.01416.48
7.4.00.0040.01414.82
7.3.330.0240.02213.07
7.3.320.0120.03813.07
7.3.310.0000.00716.35
7.3.300.0030.00616.18
7.3.290.0070.01016.20
7.3.280.0170.01316.24
7.3.270.0260.02417.40
7.3.260.0420.01116.38
7.3.250.0370.01616.32
7.3.240.0130.02716.10
7.3.230.0720.02016.39
7.3.210.0890.02016.35
7.3.200.0730.01219.39
7.3.190.0520.02116.30
7.3.180.0290.01316.24
7.3.170.0240.02016.31
7.3.160.0160.00716.21
7.3.120.0070.00714.61
7.2.330.0560.01816.37
7.2.320.0070.01716.59
7.2.310.0330.01416.64
7.2.300.0080.01716.44
7.2.290.0120.00916.43
7.2.60.0030.01316.94
7.2.00.0110.00319.29
7.1.200.0120.00615.84
7.1.100.0030.00818.10
7.1.70.0000.00816.84
7.1.60.0100.01719.29
7.1.50.0030.01917.16
7.1.00.0030.07722.17
7.0.200.0050.00316.70
7.0.140.0070.07022.12
7.0.60.0100.05720.00
7.0.50.0200.07017.84
7.0.40.0070.06319.79
7.0.30.0270.04019.89
7.0.20.0200.04719.95
7.0.10.0200.06319.98
7.0.00.0070.05019.88
5.6.210.0170.03320.59
5.6.200.0000.04718.07
5.6.190.0030.09720.16
5.6.180.0500.04020.31
5.6.170.0200.07320.23
5.6.160.0100.07720.26
5.6.150.0070.08718.13
5.6.140.0070.04318.12
5.6.130.0000.09018.13
5.6.120.0030.08720.98
5.6.110.0100.05020.95
5.6.100.0070.04021.01
5.6.90.0100.07021.13
5.6.80.0070.08320.52
5.5.350.0170.05720.46
5.5.340.0130.06720.97
5.5.330.0100.07320.19
5.5.320.0170.05020.90
5.5.310.0230.06020.92
5.5.300.0200.06020.79
5.5.290.0130.06020.92
5.5.280.0230.06020.93
5.5.270.0230.06320.90
5.5.260.0030.08720.95
5.5.250.0170.07720.54
5.5.240.0200.08320.31
5.4.450.0230.07719.28
5.4.440.0070.06319.44
5.4.430.0070.08719.30
5.4.420.0170.07019.33
5.4.410.0030.07319.31
5.4.400.0130.05319.03
5.4.390.0170.05319.04
5.4.380.0130.05318.92
5.4.370.0100.05318.95
5.4.360.0200.07318.96
5.4.350.0230.04719.02
5.4.340.0130.05019.03
5.4.320.0170.05718.81
5.4.310.0300.05018.71
5.4.300.0030.06318.93
5.4.290.0500.06319.00
5.4.280.0170.05318.97
5.4.270.0200.05318.98
5.4.260.0170.06018.80
5.4.250.0200.07019.01
5.4.240.0200.05319.00
5.4.230.0170.07718.77
5.4.220.0270.04019.15
5.4.210.0100.06318.82
5.4.200.0100.05319.02
5.4.190.0130.05319.02
5.4.180.0100.05318.80
5.4.170.0200.04318.76
5.4.160.0330.05719.14
5.4.150.3900.04018.81
5.4.140.3930.04316.14
5.4.130.0330.06016.38
5.4.120.0200.03716.22
5.4.110.0170.07716.28
5.4.100.0370.03016.43
5.4.90.0270.05016.36
5.4.80.0100.05016.37
5.4.70.0100.05016.33
5.4.60.0130.04716.36
5.4.50.0130.06316.34
5.4.40.0200.05716.26
5.4.30.0100.05716.45
5.4.20.0130.05316.34
5.4.10.0170.04716.38
5.4.00.3730.03315.75
5.3.290.0100.06714.45
5.3.280.0230.06014.45
5.3.270.0100.05314.34
5.3.260.0130.05014.36
5.3.250.0130.05014.28
5.3.240.3770.04014.38
5.3.230.0070.06014.44
5.3.220.0330.07714.46
5.3.210.0070.06014.34
5.3.200.0470.06014.46
5.3.190.3670.03314.34
5.3.180.0100.05714.24
5.3.170.0030.05714.20
5.3.160.0070.05314.28
5.3.150.0070.05314.41
5.3.140.0130.05014.32
5.3.130.0070.08014.29
5.3.120.0200.06314.32
5.3.110.0070.05714.22
5.3.100.0500.06713.79
5.3.90.0130.04713.81
5.3.80.0070.06313.69
5.3.70.0170.04313.79

preferences:
48.56 ms | 401 KiB | 5 Q