3v4l.org

run code in 300+ PHP versions simultaneously
<?php // To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; mail('', 'Welcome to Neuron', '<h1>Your password is {$pwd}</h1>', $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.3.60.0070.00718.36
8.3.50.0090.00921.21
8.3.40.0140.00018.57
8.3.30.0100.00318.79
8.3.20.0040.00420.16
8.3.10.0040.00421.80
8.3.00.0040.00419.81
8.2.180.0070.01416.60
8.2.170.0110.00422.96
8.2.160.0150.00020.53
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0050.00226.16
8.2.120.0040.00420.96
8.2.110.0030.00622.14
8.2.100.0080.00417.60
8.2.90.0040.00419.07
8.2.80.0100.00017.97
8.2.70.0060.00317.48
8.2.60.0050.00318.05
8.2.50.0080.00018.07
8.2.40.0040.00421.14
8.2.30.0000.00819.84
8.2.20.0040.00417.66
8.2.10.0000.00717.93
8.2.00.0040.00418.16
8.1.280.0140.00425.92
8.1.270.0050.00320.21
8.1.260.0090.00026.35
8.1.250.0030.00528.09
8.1.240.0000.00922.33
8.1.230.0060.00617.48
8.1.220.0050.00317.78
8.1.210.0040.00418.77
8.1.200.0030.00617.36
8.1.190.0000.00817.10
8.1.180.0000.00818.10
8.1.170.0050.00318.50
8.1.160.0080.00022.14
8.1.150.0000.00718.86
8.1.140.0080.00017.39
8.1.130.0070.00017.63
8.1.120.0040.00317.31
8.1.110.0000.00817.37
8.1.100.0040.00417.32
8.1.90.0030.00617.32
8.1.80.0000.01017.40
8.1.70.0070.00017.35
8.1.60.0000.00817.43
8.1.50.0000.00817.53
8.1.40.0080.00017.50
8.1.30.0040.00417.64
8.1.20.0050.00317.53
8.1.10.0000.00817.59
8.1.00.0050.00317.53
8.0.300.0070.00018.77
8.0.290.0060.00316.63
8.0.280.0080.00018.27
8.0.270.0000.00717.09
8.0.260.0030.00317.20
8.0.250.0040.00416.95
8.0.240.0060.00016.96
8.0.230.0030.00316.95
8.0.220.0050.00316.78
8.0.210.0000.00816.87
8.0.200.0030.00316.84
8.0.190.0000.00716.94
8.0.180.0000.00816.92
8.0.170.0040.00416.78
8.0.160.0040.00416.90
8.0.150.0000.00716.87
8.0.140.0000.00716.76
8.0.130.0030.00313.23
8.0.120.0040.00416.75
8.0.110.0080.00016.83
8.0.100.0050.00216.91
8.0.90.0040.00417.00
8.0.80.0130.00916.85
8.0.70.0040.00416.95
8.0.60.0040.00416.77
8.0.50.0040.00416.87
8.0.30.0160.00517.06
8.0.20.0090.00917.40
8.0.10.0040.00417.04
8.0.00.0090.00916.69
7.4.330.0000.00515.08
7.4.320.0040.00416.31
7.4.300.0000.00716.52
7.4.290.0030.00316.44
7.4.280.0040.00716.42
7.4.270.0000.00716.52
7.4.260.0050.00316.45
7.4.250.0050.00316.34
7.4.240.0020.00516.42
7.4.230.0000.00716.55
7.4.220.0150.00616.54
7.4.210.0040.01116.56
7.4.200.0070.00016.51
7.4.160.0120.00416.38
7.4.150.0070.01117.40
7.4.140.0100.00917.86
7.4.130.0120.00416.45
7.4.120.0090.00616.47
7.4.110.0140.00316.55
7.4.100.0070.01116.41
7.4.90.0150.00416.44
7.4.80.0100.00719.39
7.4.70.0070.01016.43
7.4.60.0110.00516.57
7.4.50.0000.00816.22
7.4.40.0060.01016.42
7.4.30.0200.00316.40
7.4.00.0070.00714.96
7.3.330.0030.00313.04
7.3.320.0020.00313.04
7.3.310.0000.00615.99
7.3.300.0070.00016.20
7.3.290.0050.01116.19
7.3.280.0080.01016.15
7.3.270.0090.00917.40
7.3.260.0130.00316.38
7.3.250.0070.00916.41
7.3.240.0000.01716.17
7.3.230.0100.00716.39
7.3.210.0130.00416.13
7.3.200.0040.01219.39
7.3.190.0160.00316.22
7.3.180.0090.00616.50
7.3.170.0110.00616.35
7.3.160.0090.00916.38
7.2.330.0040.01216.29
7.2.320.0130.01016.56
7.2.310.0060.01116.26
7.2.300.0060.01016.41
7.2.290.0100.00616.32
7.2.60.0060.00916.77
7.2.00.0050.00918.96
7.1.200.0040.01115.63
7.1.100.0070.00718.37
7.1.70.0040.00417.13
7.1.60.0060.01820.03
7.1.50.0050.00516.92
7.1.00.0030.07722.57
7.0.200.0040.00416.50
7.0.60.0100.05719.92
7.0.50.0100.07317.88
7.0.40.0070.07720.23
7.0.30.0300.08020.00
7.0.20.0370.07320.00
7.0.10.0170.07320.32
7.0.00.0030.06020.04
5.6.280.0000.05321.09
5.6.210.0130.07720.70
5.6.200.0130.07718.22
5.6.190.0000.04720.49
5.6.180.0530.06320.60
5.6.170.0230.03720.33
5.6.160.0070.03720.50
5.6.150.0130.05318.22
5.6.140.0170.07018.22
5.6.130.0000.04318.15
5.6.120.0030.04021.04
5.6.110.0070.04021.13
5.6.100.0230.04321.01
5.6.90.0170.06020.87
5.6.80.0030.04020.37
5.5.350.0100.08020.39
5.5.340.0100.08017.91
5.5.330.0030.05020.43
5.5.320.0070.08320.20
5.5.310.0230.04320.28
5.5.300.0100.08018.02
5.5.290.0070.03717.89
5.5.280.0100.06720.73
5.5.270.0100.08020.86
5.5.260.0130.03720.78
5.5.250.0130.04720.65
5.5.240.0230.03320.14
5.4.450.0400.06719.42
5.4.440.0270.03719.46
5.4.430.0270.04019.11
5.4.420.0230.04019.42
5.4.410.0270.03719.33
5.4.400.0370.04719.09
5.4.390.0230.04319.25
5.4.380.0370.03318.93
5.4.370.0200.03718.79
5.4.360.0270.03319.13
5.4.350.0230.04019.09
5.4.340.0200.03718.79
5.4.320.0200.04019.13
5.4.310.0230.03719.13
5.4.300.0270.03019.09
5.4.290.0230.03718.92
5.4.280.0230.03319.13
5.4.270.0170.04019.16
5.4.260.0170.04018.88
5.4.250.0230.03719.09
5.4.240.0200.03718.88
5.4.230.0230.03719.13
5.4.220.0200.04019.15
5.4.210.0170.04018.80
5.4.200.0170.04018.95
5.4.190.0230.03319.15
5.4.180.0270.03019.07
5.4.170.0300.07019.14
5.4.160.0270.04718.89
5.4.150.0230.05718.89
5.4.140.0300.04716.26
5.4.130.0200.03716.43
5.4.120.0270.04016.28
5.4.110.0230.03716.43
5.4.100.0370.06716.41
5.4.90.0570.06016.38
5.4.80.0300.03716.42

preferences:
61.1 ms | 401 KiB | 5 Q