3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $to = 'danceclubunit@hotmail.com'; $subject = 'Subject'; $message = 'This is a test'; $headers = 'From: webmaster@yourdot.com' . "\r\n" . 'Reply-To: webmaster@yourdot.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $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)
7.1.70.0000.00817.15
7.1.60.0100.00619.57
7.1.50.0110.00734.71
7.1.00.0070.07322.48
7.0.200.0000.00716.55
7.0.140.0030.03322.21
7.0.60.0030.05721.65
7.0.50.0100.03717.88
7.0.40.0030.04720.23
7.0.30.0270.07720.17
7.0.20.0100.06020.44
7.0.10.0070.08720.09
7.0.00.0070.08320.12
5.6.280.0000.07321.01
5.6.210.0130.07320.52
5.6.200.0100.04318.18
5.6.190.0070.04020.49
5.6.180.0600.07320.61
5.6.170.0200.04020.39
5.6.160.0100.08720.70
5.6.150.0030.03718.14
5.6.140.0070.07718.12
5.6.130.0130.08018.21
5.6.120.0100.07021.01
5.6.110.0170.07321.11
5.6.100.0100.08321.04
5.6.90.0030.08321.02
5.6.80.0070.03720.50
5.5.350.0170.07020.33
5.5.340.0070.05318.01
5.5.330.0070.03720.40
5.5.320.0200.08020.29
5.5.310.0070.04720.32
5.5.300.0070.03717.91
5.5.290.0030.04317.89
5.5.280.0030.07320.68
5.5.270.0100.06320.95
5.5.260.0070.07720.72
5.5.250.0030.06020.57
5.5.240.0330.07020.25
5.4.450.0600.04719.51
5.4.440.0930.06019.13
5.4.430.0800.05319.32
5.4.420.0970.07319.47
5.4.410.1030.05019.02
5.4.400.0970.05019.06
5.4.390.0930.06719.20
5.4.380.0230.06018.49
5.4.370.0300.06718.82
5.4.360.0270.05318.58
5.4.350.0330.04318.77
5.4.340.0300.04318.55
5.4.320.0200.06318.53
5.4.310.0270.04318.82
5.4.300.0330.04718.78
5.4.290.0230.05718.63
5.4.280.0170.06018.63
5.4.270.0200.05318.78
5.4.260.0170.06318.57
5.4.250.0300.04318.57
5.4.240.0330.05318.75
5.4.230.0200.05318.75
5.4.220.0270.06018.59
5.4.210.0230.05018.66
5.4.200.0170.05316.66
5.4.190.0300.07018.53
5.4.180.0270.04318.71
5.4.170.0170.07018.75
5.4.160.0370.04718.77
5.4.150.0300.04718.50
5.4.140.0230.04716.38
5.4.130.0270.05316.34
5.4.120.0130.06016.33
5.4.110.0170.05716.34
5.4.100.0270.04316.35
5.4.90.0170.05316.25
5.4.80.0270.05316.28
5.4.70.0200.05016.21
5.4.60.0230.04716.30
5.4.50.0130.05316.31
5.4.40.0130.05716.25
5.4.30.0170.05016.46
5.4.20.0130.05716.43
5.4.10.0230.04316.30
5.4.00.0130.05315.78
5.3.290.0170.05714.78
5.3.280.0170.05314.71
5.3.270.0130.06314.75
5.3.260.0200.07714.63
5.3.250.0170.06014.64
5.3.240.0330.05314.72
5.3.230.0170.05714.79
5.3.220.0200.05014.76
5.3.210.0200.05714.59
5.3.200.0170.05714.57
5.3.190.0200.05314.66
5.3.180.0200.05314.55
5.3.170.0270.04714.55
5.3.160.0100.06314.69
5.3.150.0230.05714.69
5.3.140.0170.05714.59
5.3.130.0070.06314.57
5.3.120.0330.05714.65
5.3.110.0200.05314.52
5.3.100.0230.04714.16
5.3.90.0270.04014.18
5.3.80.0300.04014.06
5.3.70.0070.08714.04
5.3.60.0200.05014.04
5.3.50.0200.05013.97
5.3.40.0230.04713.94
5.3.30.0170.05714.13
5.3.20.0200.05013.73
5.3.10.0130.05313.69
5.3.00.0200.05013.61
5.2.170.0230.03311.24
5.2.160.0130.05011.16
5.2.150.0200.03711.25
5.2.140.0200.04011.21
5.2.130.0100.04711.21
5.2.120.0230.03011.19
5.2.110.0100.04711.32
5.2.100.0200.03711.12
5.2.90.0170.03711.10
5.2.80.0170.04011.21
5.2.70.0100.04711.15
5.2.60.0230.04311.07
5.2.50.0130.04311.06
5.2.40.0100.04311.02
5.2.30.0170.03711.07
5.2.20.0130.04010.93
5.2.10.0130.03710.87
5.2.00.0070.04710.75
5.1.60.0070.04010.19
5.1.50.0200.0339.99
5.1.40.0130.0309.99
5.1.30.0130.03710.36
5.1.20.0170.03310.45
5.1.10.0100.04010.18
5.1.00.0270.03710.04
5.0.50.0070.0408.52
5.0.40.0070.0278.44
5.0.30.0130.0508.35
5.0.20.0130.0238.32
5.0.10.0130.0238.18
5.0.00.0030.0578.17
4.4.90.0030.0275.99
4.4.80.0100.0276.00
4.4.70.0100.0275.93
4.4.60.0100.0276.02
4.4.50.0100.0275.93
4.4.40.0070.0435.91
4.4.30.0100.0275.89
4.4.20.0100.0275.95
4.4.10.0030.0275.95
4.4.00.0070.0375.93
4.3.110.0070.0235.92
4.3.100.0100.0235.84
4.3.90.0100.0175.90
4.3.80.0100.0305.81
4.3.70.0030.0235.82
4.3.60.0070.0205.84
4.3.50.0130.0175.87
4.3.40.0100.0305.84
4.3.30.0100.0174.93
4.3.20.0000.0274.93
4.3.10.0000.0234.93
4.3.00.0030.01314.60

preferences:
39.27 ms | 401 KiB | 5 Q