3v4l.org

run code in 300+ PHP versions simultaneously
<?php $to = "19492053602@mymetropcs.com"; $subject = "Hey, I just met you, And this is crazy "; $message = " But here's my number, So call me, maybe?"; $from = "carly@r.ae"; $count = 0; $headers = "From: $from"; while (1) { $count++; mail($to,$subject,$message,$headers); print "Message sent, Now @ " . $count . "\n"; } ?>

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.0140.00316.63
8.3.50.0100.01217.44
8.3.40.0070.00718.84
8.3.30.0110.00418.54
8.3.20.0030.00618.80
8.3.10.0040.00418.60
8.3.00.0070.00719.26
8.2.180.0100.00725.92
8.2.170.0100.00719.08
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0030.00719.31
8.2.110.0100.00020.99
8.2.100.0040.00817.72
8.2.90.0070.00319.48
8.2.80.0040.00419.34
8.2.70.0060.00317.48
8.2.60.0040.00417.93
8.2.50.0070.00418.07
8.2.40.0000.00718.28
8.2.30.0070.00317.96
8.2.20.0000.00917.69
8.2.10.0040.00417.64
8.2.00.0000.00717.73
8.1.280.0100.00325.92
8.1.270.0000.00724.66
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00022.48
8.1.230.0070.00420.85
8.1.220.0060.00317.74
8.1.210.0040.00718.77
8.1.200.0040.00717.25
8.1.190.0000.00817.54
8.1.180.0040.00418.10
8.1.170.0000.00918.77
8.1.160.0000.00818.82
8.1.150.0030.00518.59
8.1.140.0000.00817.43
8.1.130.0000.00717.83
8.1.120.0000.00817.48
8.1.110.0040.00417.37
8.1.100.0040.00317.32
8.1.90.0000.00717.46
8.1.80.0040.00417.38
8.1.70.0040.00417.31
8.1.60.0050.00217.45
8.1.50.0050.00317.40
8.1.40.0050.00317.46
8.1.30.0050.00317.53
8.1.20.0080.00017.69
8.1.10.0000.00717.55
8.1.00.0070.00017.38
8.0.300.0000.00920.07
8.0.290.0030.00616.88
8.0.280.0030.00318.40
8.0.270.0000.00717.20
8.0.260.0000.00716.84
8.0.250.0000.00816.95
8.0.240.0050.00217.03
8.0.230.0000.00716.99
8.0.220.0070.00016.96
8.0.210.0040.00416.86
8.0.200.0060.00017.01
8.0.190.0030.00617.00
8.0.180.0030.00616.97
8.0.170.0030.00616.95
8.0.160.0070.00016.87
8.0.150.0040.00416.89
8.0.140.0080.00416.83
8.0.130.0110.02713.46
8.0.120.0040.00416.89
8.0.110.0070.00016.80
8.0.100.0050.00216.92
8.0.90.0000.00716.85
8.0.80.0190.00316.85
8.0.70.0000.00716.82
8.0.60.0000.00716.86
8.0.50.0040.00416.85
8.0.30.0120.00617.02
8.0.20.0110.00817.19
8.0.10.0030.00516.89
8.0.00.0090.01016.66
7.4.330.0060.00012.96
7.4.320.0030.00316.45
7.4.300.0040.00416.33
7.4.290.0030.00316.28
7.4.280.0000.00816.33
7.4.270.0090.00016.42
7.4.260.0190.02313.18
7.4.250.0060.00316.27
7.4.240.0110.00616.23
7.4.230.0080.00016.45
7.4.220.0130.01016.32
7.4.210.0100.00816.40
7.4.200.0030.00516.17
7.4.190.0070.00016.49
7.4.160.0170.00716.56
7.4.150.0370.01416.33
7.4.140.0520.00816.43
7.4.130.0110.01316.37
7.4.120.0160.01116.27
7.4.110.0450.01316.28
7.4.100.0130.02216.36
7.4.90.1000.00616.32
7.4.80.0300.02016.44
7.4.70.0100.01716.40
7.4.60.0150.00416.32
7.4.50.0190.00616.09
7.4.40.0090.01216.55
7.4.30.0260.01416.39
7.4.00.0040.01614.65
7.3.330.0220.02813.25
7.3.320.0170.02413.18
7.3.310.0030.00516.14
7.3.300.0040.00416.24
7.3.290.0330.02516.26
7.3.280.0130.00816.31
7.3.270.0090.00916.42
7.3.260.0130.01316.32
7.3.250.0330.01116.24
7.3.240.0100.01016.32
7.3.230.0220.01316.40
7.3.210.0450.01516.55
7.3.200.0060.01619.39
7.3.190.0680.01816.35
7.3.180.0540.01616.43
7.3.170.0110.00816.22
7.3.160.0220.02316.24
7.3.120.0070.01314.63
7.3.10.0060.00316.38
7.3.00.0040.01116.48
7.2.330.0230.01016.71
7.2.320.0280.02216.65
7.2.310.0090.01816.42
7.2.300.0120.00816.61
7.2.290.0050.01516.61
7.2.130.0080.00316.59
7.2.120.0060.00616.89
7.2.110.0060.00316.44
7.2.100.0120.00016.75
7.2.90.0070.00716.89
7.2.80.0030.00616.79
7.2.70.0070.00716.96
7.2.60.0050.00616.76
7.2.50.0100.00316.61
7.2.40.0000.01116.87
7.2.30.0070.00716.80
7.2.20.0030.00716.61
7.2.10.0120.00016.84
7.2.00.0070.01016.77
7.1.250.0090.00615.48
7.1.200.0090.00615.77
7.1.70.0000.00716.95
7.1.60.0100.01019.40
7.1.50.0030.01017.14
7.0.200.0220.00314.99

preferences:
38.42 ms | 401 KiB | 5 Q