3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace { const A = 1; } namespace Alt { const A = 3; } namespace UsingAlt { use const Alt\A; var_dump(A); }

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.01018.43
8.3.50.0100.00722.05
8.3.40.0110.00418.43
8.3.30.0090.00618.90
8.3.20.0070.00020.33
8.3.10.0090.00020.31
8.3.00.0050.00319.25
8.2.180.0120.00618.41
8.2.170.0100.00322.96
8.2.160.0110.00418.88
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0000.00721.11
8.2.110.0090.00020.27
8.2.100.0080.00418.09
8.2.90.0090.00019.22
8.2.80.0030.00517.97
8.2.70.0060.00317.50
8.2.60.0000.00817.79
8.2.50.0080.00018.07
8.2.40.0000.00717.99
8.2.30.0030.00521.14
8.2.20.0070.00017.66
8.2.10.0000.00818.00
8.2.00.0000.00917.60
8.1.280.0150.00625.92
8.1.270.0040.00423.91
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00023.84
8.1.230.0040.00719.04
8.1.220.0000.00917.74
8.1.210.0000.00818.77
8.1.200.0000.01317.35
8.1.190.0000.00917.23
8.1.180.0050.00218.10
8.1.170.0080.00018.59
8.1.160.0000.00721.94
8.1.150.0000.00718.82
8.1.140.0040.00417.39
8.1.130.0030.00317.80
8.1.120.0000.00717.39
8.1.110.0050.00217.35
8.1.100.0070.00017.41
8.1.90.0040.00417.45
8.1.80.0000.00717.34
8.1.70.0060.00017.38
8.1.60.0080.00317.54
8.1.50.0070.00017.45
8.1.40.0000.00817.34
8.1.30.0000.00817.41
8.1.20.0000.00717.62
8.1.10.0000.00717.35
8.1.00.0000.00817.34
8.0.300.0000.00718.77
8.0.290.0030.00616.63
8.0.280.0070.00018.32
8.0.270.0030.00517.23
8.0.260.0030.00317.11
8.0.250.0030.00316.80
8.0.240.0030.00316.77
8.0.230.0000.00716.94
8.0.220.0030.00316.71
8.0.210.0030.00316.73
8.0.200.0070.00016.77
8.0.190.0070.00016.78
8.0.180.0050.00316.84
8.0.170.0000.00716.75
8.0.160.0070.00016.71
8.0.150.0000.00716.68
8.0.140.0000.00916.76
8.0.130.0090.00013.22
8.0.120.0040.00416.82
8.0.110.0000.00716.84
8.0.100.0040.00416.70
8.0.90.0040.00416.65
8.0.80.0100.00516.88
8.0.70.0080.00016.66
8.0.60.0040.00416.68
8.0.50.0000.00816.87
8.0.30.0080.01017.09
8.0.20.0050.01517.40
8.0.10.0050.00217.05
8.0.00.0130.00616.69
7.4.330.0050.00015.03
7.4.320.0050.00216.55
7.4.300.0070.00016.57
7.4.290.0040.00216.44
7.4.280.0060.00316.37
7.4.270.0000.00716.55
7.4.260.0050.00416.48
7.4.250.0000.00716.54
7.4.240.0050.00216.47
7.4.230.0040.00416.34
7.4.220.0070.01016.51
7.4.210.0110.00616.57
7.4.200.0000.00716.60
7.4.160.0120.00316.25
7.4.150.0060.01217.40
7.4.140.0120.00917.86
7.4.130.0090.00716.44
7.4.120.0080.00816.39
7.4.110.0100.00616.49
7.4.100.0170.00616.52
7.4.90.0140.00416.51
7.4.80.0110.00619.39
7.4.70.0100.00716.34
7.4.60.0100.01016.25
7.4.50.0030.00516.42
7.4.40.0040.01516.50
7.4.30.0030.01316.43
7.4.00.0140.00315.08
7.3.330.0000.00513.05
7.3.320.0000.00512.93
7.3.310.0030.00316.02
7.3.300.0030.00316.22
7.3.290.0070.00716.25
7.3.280.0090.00616.24
7.3.270.0070.01717.40
7.3.260.0090.00616.22
7.3.250.0080.01216.50
7.3.240.0100.01016.38
7.3.230.0030.01316.39
7.3.210.0060.00916.29
7.3.200.0140.00919.39
7.3.190.0070.01016.41
7.3.180.0130.00416.43
7.3.170.0070.01316.27
7.3.160.0120.00316.28
7.2.330.0120.00616.32
7.2.320.0130.00316.29
7.2.310.0120.00416.57
7.2.300.0060.01016.37
7.2.290.0000.01616.71
7.2.00.0030.01219.32
7.1.100.0070.00418.14
7.1.70.0040.00416.99
7.1.60.0070.00719.61
7.1.50.0100.01016.80
7.1.00.0030.07722.27
7.0.200.0000.01016.67
7.0.140.0100.07022.19
7.0.60.0130.08319.99
7.0.50.0030.08317.82
7.0.40.0030.04320.06
7.0.30.0170.04320.13
7.0.20.0270.08020.00
7.0.10.0030.04320.16
7.0.00.0130.04720.17
5.6.280.0070.06720.98
5.6.210.0030.05020.75
5.6.200.0070.08018.09
5.6.190.0070.07020.79
5.6.180.0270.04720.33
5.6.170.0330.04020.52
5.6.160.0070.05320.45
5.6.150.0000.07018.07
5.6.140.0100.06318.18
5.6.130.0000.08018.20
5.6.120.0130.08020.98
5.6.110.0000.04320.93
5.6.100.0030.04321.04
5.6.90.0000.04320.96
5.6.80.0100.07720.42
5.5.350.0170.04320.30
5.5.340.0130.05318.14
5.5.330.0030.08720.13
5.5.320.0200.07320.32
5.5.310.0270.04720.29
5.5.300.0030.05318.08
5.5.290.0070.08017.98
5.5.280.0030.08320.87
5.5.270.0070.06020.83
5.5.260.0100.06020.75
5.5.250.0130.08320.53
5.5.240.0070.06720.18
5.4.450.0300.07019.28
5.4.440.0200.03719.39
5.4.430.0270.04019.48
5.4.420.0370.05719.50
5.4.410.0200.03019.07
5.4.400.0230.05019.10
5.4.390.0100.05318.87
5.4.380.0170.04018.99
5.4.370.0100.04019.15
5.4.360.0230.03719.13
5.4.350.0200.03719.15
5.4.340.0130.03719.07
5.4.320.0130.04719.21
5.4.310.0130.03718.99
5.4.300.0170.04019.22
5.4.290.0200.07318.87
5.4.280.0200.05318.98
5.4.270.0200.03719.14
5.4.260.0270.04018.85
5.4.250.0130.07319.09
5.4.240.0170.05319.19
5.4.230.0130.06319.20
5.4.220.0230.06019.06
5.4.210.0230.07019.15
5.4.200.0300.04719.08
5.4.190.0270.07018.84
5.4.180.0270.03319.08
5.4.170.0270.04719.14
5.4.160.0270.06019.30
5.4.150.0300.04719.29
5.4.140.0200.06016.31
5.4.130.0170.07316.28
5.4.120.0270.06316.37
5.4.110.0330.05716.45
5.4.100.0170.06016.56
5.4.90.0200.05716.54
5.4.80.0270.06316.34
5.4.70.0200.05316.44
5.4.60.0270.05716.43
5.4.50.0370.05716.53
5.4.40.0200.05716.42
5.4.30.0300.04016.42
5.4.20.0200.06716.34
5.4.10.0170.03716.32
5.4.00.0100.04015.96
5.3.290.0200.04014.61
5.3.280.0170.06014.53
5.3.270.0130.05314.65
5.3.260.0230.05714.44
5.3.250.0300.06714.65
5.3.240.0270.06714.53
5.3.230.0230.05714.44
5.3.220.0270.07014.40
5.3.210.0270.06014.43
5.3.200.0170.07314.52
5.3.190.0270.05314.54
5.3.180.0300.04714.51
5.3.170.0230.05714.50
5.3.160.0270.06714.51
5.3.150.0270.07014.55
5.3.140.0300.06314.49
5.3.130.0230.05714.46
5.3.120.0230.04714.39
5.3.110.0230.03014.60
5.3.100.0070.04313.90
5.3.90.0170.04714.07
5.3.80.0230.07013.96
5.3.70.0230.06014.06
5.3.60.0230.04013.80
5.3.50.0200.07013.79
5.3.40.0200.07013.88
5.3.30.0230.06713.78
5.3.20.0230.06713.71
5.3.10.0170.07013.61
5.3.00.0170.05013.59
5.2.170.0200.05313.22
5.2.160.0270.03713.22
5.2.150.0170.03713.22
5.2.140.0200.03713.22
5.2.130.0170.06313.22
5.2.120.0170.05713.22
5.2.110.0200.05313.22
5.2.100.0170.03713.22
5.2.90.0130.04013.22
5.2.80.0170.03713.22
5.2.70.0170.06313.22
5.2.60.0230.05313.22
5.2.50.0170.06313.22
5.2.40.0200.05013.22
5.2.30.0100.06013.22
5.2.20.0100.03313.22
5.2.10.0230.05313.22
5.2.00.0170.05713.22
5.1.60.0200.04313.22
5.1.50.0130.02713.22
5.1.40.0130.05713.22
5.1.30.0130.05313.22
5.1.20.0370.02713.22
5.1.10.0200.04313.22
5.1.00.0170.03013.22
5.0.50.0130.03713.22
5.0.40.0130.03313.22
5.0.30.0130.05013.22
5.0.20.0100.04313.22
5.0.10.0130.02013.22
5.0.00.0200.03313.22
4.4.90.0100.03013.22
4.4.80.0130.01713.22
4.4.70.0130.03013.22
4.4.60.0070.03713.22
4.4.50.0100.02713.22
4.4.40.0070.03313.22
4.4.30.0070.01713.22
4.4.20.0070.03713.22
4.4.10.0070.02713.22
4.4.00.0070.05313.22
4.3.110.0070.02713.22
4.3.100.0100.01713.22
4.3.90.0070.02013.22
4.3.80.0170.04313.22
4.3.70.0100.03313.22
4.3.60.0070.03313.22
4.3.50.0100.03313.22
4.3.40.0070.04713.22
4.3.30.0030.02713.22
4.3.20.0030.02313.22
4.3.10.0000.02313.22
4.3.00.0030.02713.22

preferences:
41.69 ms | 401 KiB | 5 Q