3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mobileNumber = "5029021133"; $count = "250"; $provider = "txt.att.net"; $email = $mobileNumber . "@" . $provider; for ($i = 0; $i < $count; $i++) { $m = rand(10e16, 10e20); $n = base_convert($m, 10, 36); $subject = $m; $body = $n; mail($email, $subject, $body, null, "-f" . $n . "@" . $m . ".com"); } echo "You have sent <b>$count</b> SMS messages to $mobileNumber <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)
7.1.70.0040.00417.31
7.1.60.0070.00717.28
7.1.50.0130.00717.29
7.1.40.0090.00616.68
7.1.30.0000.01616.56
7.1.20.0050.00916.74
7.1.10.0110.00816.45
7.1.00.0050.00516.47
7.0.200.0060.00616.88
7.0.190.0080.00416.72
7.0.180.0030.00916.20
7.0.170.0060.00616.59
7.0.160.0100.00416.38
7.0.150.0160.00316.33
7.0.140.0040.00816.41
7.0.130.0040.00816.75
7.0.120.0070.00916.67
7.0.110.0040.00416.55
7.0.100.0000.00816.29
7.0.90.0120.00016.54
7.0.80.0160.00016.58
7.0.70.0060.00616.24
7.0.60.0040.00716.20
7.0.50.0090.00316.49
7.0.40.0030.00915.73
7.0.30.0000.01215.73
7.0.20.0050.00515.73
7.0.10.0040.00815.73
7.0.00.0100.00315.73
5.6.300.0000.04920.70
5.6.290.0070.04220.89
5.6.280.0100.04320.90
5.6.270.0030.04520.93
5.6.260.0030.04420.99
5.6.250.0230.04221.09
5.6.240.0030.05320.89
5.6.230.0110.05620.92
5.6.220.0000.04620.96
5.6.210.0030.04420.98
5.6.200.0090.05220.88
5.6.190.0040.04921.05
5.6.180.0070.04120.89
5.6.170.0030.07020.79
5.6.160.0070.04720.95
5.6.150.0060.04420.98
5.6.140.0040.04221.04
5.6.130.0030.04420.95
5.6.120.0140.03420.95
5.6.110.0100.05520.79
5.6.100.0030.04521.00
5.6.90.0030.04720.87
5.6.80.0000.05220.38
5.6.70.0070.03920.23
5.6.60.0070.05620.23
5.6.50.0030.04520.23
5.6.40.0030.04420.22
5.6.30.0100.06320.16
5.6.20.0000.04920.24
5.6.10.0110.03420.22
5.6.00.0130.03320.39
5.5.380.0060.07817.44
5.5.370.0000.04117.45
5.5.360.0000.05117.47
5.5.350.0030.07417.45
5.5.340.0070.04017.98
5.5.330.0030.04618.06
5.5.320.0070.04318.09
5.5.310.0030.03918.07
5.5.300.0090.03318.03
5.5.290.0060.03918.03
5.5.280.0000.04618.03
5.5.270.0030.04218.10
5.5.260.0070.04217.96
5.5.250.0000.04717.89
5.5.240.0000.04217.38
5.5.230.0030.04817.44
5.5.220.0070.03617.19
5.5.210.0200.04817.44
5.5.200.0070.04417.30
5.5.190.0030.04517.19
5.5.180.0000.04317.38
5.5.160.0100.03217.40
5.5.150.0000.04517.38
5.5.140.0060.03517.21
5.5.130.0030.03817.38
5.5.120.0030.04017.32
5.5.110.0070.03617.39
5.5.100.0070.03717.29
5.5.90.0000.04817.29
5.5.80.0030.03617.20
5.5.70.0060.03816.96
5.5.60.0030.03617.21
5.5.50.0030.04017.18
5.5.40.0000.04417.22
5.5.30.0000.04417.28
5.5.20.0000.04717.27
5.5.10.0030.04017.17
5.5.00.0030.03717.28
5.4.450.0100.03619.43
5.4.440.0000.05019.49
5.4.430.0040.04019.21
5.4.420.0070.04719.52
5.4.410.0040.04619.25
5.4.400.0030.03819.04
5.4.390.0030.07519.17
5.4.380.0030.04218.92
5.4.370.0030.05419.07
5.4.360.0070.06719.15
5.4.350.0070.03719.06
5.4.340.0070.04718.86
5.4.320.0070.03918.98
5.4.310.0030.04918.86
5.4.300.0070.03619.04
5.4.290.0070.03618.86
5.4.280.0070.04018.98
5.4.270.0070.03618.88
5.4.260.0030.03718.98
5.4.250.0030.05719.07
5.4.240.0040.03619.04
5.4.230.0040.04618.97
5.4.220.0000.04319.04
5.4.210.0100.03019.05
5.4.200.0100.03519.05
5.4.190.0030.03919.16
5.4.180.0130.02919.13
5.4.170.0000.04418.97
5.4.160.0030.04318.81
5.4.150.0030.04218.84
5.4.140.0070.03716.36
5.4.130.0030.03816.66
5.4.120.0070.03116.55
5.4.110.0070.03516.58
5.4.100.0030.03816.57
5.4.90.0000.03916.57
5.4.80.0030.03816.67
5.4.70.0030.03416.41
5.4.60.0070.03016.48
5.4.50.0030.03516.32
5.4.40.0030.03816.70
5.4.30.0030.04016.64
5.4.20.0000.04116.32
5.4.10.0070.03416.32
5.4.00.0000.03715.91
5.3.290.0060.03515.91
5.3.280.0000.04415.91
5.3.270.0030.03815.91
5.3.260.0040.04315.91
5.3.250.0030.03615.91
5.3.240.0030.04215.91
5.3.230.0030.03815.91
5.3.220.0000.04015.91
5.3.210.0030.04115.91
5.3.200.0070.03615.91
5.3.190.0030.04215.91
5.3.180.0090.03415.91
5.3.170.0060.03815.91
5.3.160.0000.04315.91
5.3.150.0070.03715.91
5.3.140.0030.03815.91
5.3.130.0070.03615.91
5.3.120.0060.03915.91
5.3.110.0000.04515.91
5.3.100.0000.04115.91
5.3.90.0000.03715.95
5.3.80.0000.04015.95
5.3.70.0000.03715.95
5.3.60.0130.03415.95
5.3.50.0000.04015.95
5.3.40.0000.03915.95
5.3.30.0060.06115.95
5.3.20.0060.03115.95
5.3.10.0060.02915.95
5.3.00.0060.03515.95

preferences:
34.48 ms | 401 KiB | 5 Q