3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo { class Bar {} } namespace { use foo\Bar; }

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.70.0160.00318.41
8.3.60.0100.00318.43
8.3.50.0220.00621.95
8.3.40.0110.00418.66
8.3.30.0030.01018.73
8.3.20.0040.00420.14
8.3.10.0080.00023.62
8.3.00.0070.00020.55
8.2.190.0160.00616.58
8.2.180.0100.01016.50
8.2.170.0140.00022.96
8.2.160.0100.00322.08
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0020.00521.18
8.2.110.0060.00322.25
8.2.100.0140.00317.59
8.2.90.0080.00019.09
8.2.80.0000.00717.97
8.2.70.0100.00017.50
8.2.60.0080.00017.80
8.2.50.0080.00018.07
8.2.40.0000.00818.03
8.2.30.0040.00417.91
8.2.20.0030.00517.51
8.2.10.0030.00517.47
8.2.00.0050.00317.42
8.1.280.0050.00925.92
8.1.270.0030.00623.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00423.84
8.1.230.0070.00419.10
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0030.00517.23
8.1.190.0000.00817.28
8.1.180.0040.00418.10
8.1.170.0000.00818.49
8.1.160.0080.00021.84
8.1.150.0000.00718.59
8.1.140.0070.00017.22
8.1.130.0030.00317.68
8.1.120.0050.00317.22
8.1.110.0040.00417.26
8.1.100.0000.00717.31
8.1.90.0040.00417.15
8.1.80.0040.00417.29
8.1.70.0030.00317.31
8.1.60.0030.00517.36
8.1.50.0030.00517.38
8.1.40.0050.00217.43
8.1.30.0050.00317.33
8.1.20.0030.00517.45
8.1.10.0000.00917.30
8.1.00.0040.00417.20
8.0.300.0070.00018.77
8.0.290.0030.00517.05
8.0.280.0000.00718.39
8.0.270.0050.00217.16
8.0.260.0080.00016.63
8.0.250.0030.00316.71
8.0.240.0000.00716.77
8.0.230.0040.00416.68
8.0.220.0070.00016.73
8.0.210.0040.00416.83
8.0.200.0040.00416.77
8.0.190.0070.00016.84
8.0.180.0000.00816.84
8.0.170.0050.00216.74
8.0.160.0070.00016.64
8.0.150.0030.00316.73
8.0.140.0000.00816.63
8.0.130.0000.00613.22
8.0.120.0080.00016.69
8.0.110.0080.00016.74
8.0.100.0000.00716.55
8.0.90.0030.00316.63
8.0.80.0060.01016.63
8.0.70.0000.00716.73
8.0.60.0000.00816.68
8.0.50.0040.00316.55
8.0.30.0100.00916.99
8.0.20.0110.00717.40
8.0.10.0050.00216.73
8.0.00.0140.00916.67
7.4.330.0050.00015.00
7.4.320.0000.00616.42
7.4.300.0060.00316.32
7.4.290.0040.00416.43
7.4.280.0030.00316.50
7.4.270.0000.00616.36
7.4.260.0030.00316.48
7.4.250.0070.00016.25
7.4.240.0050.00216.37
7.4.230.0030.00316.36
7.4.220.0060.01216.46
7.4.210.0060.01116.45
7.4.200.0030.00316.27
7.4.190.0070.00016.30
7.4.160.0130.00316.28
7.4.150.0150.00317.40
7.4.140.0050.01217.86
7.4.130.0110.00716.44
7.4.120.0110.00616.38
7.4.110.0070.01016.54
7.4.100.0140.00716.44
7.4.90.0130.01016.40
7.4.80.0140.00316.36
7.4.70.0130.00316.51
7.4.60.0060.00916.34
7.4.50.0000.00816.28
7.4.40.0030.01022.77
7.4.30.0070.01016.26
7.4.00.0090.00314.93
7.3.330.0050.00012.99
7.3.320.0000.00613.20
7.3.310.0060.00016.16
7.3.300.0070.00015.97
7.3.290.0130.00016.06
7.3.280.0060.01016.14
7.3.270.0120.01217.40
7.3.260.0030.01616.34
7.3.250.0100.00716.13
7.3.240.0140.00316.23
7.3.230.0130.00316.39
7.3.210.0060.01216.18
7.3.200.0000.01819.39
7.3.190.0060.01016.32
7.3.180.0070.00716.48
7.3.170.0040.01116.27
7.3.160.0060.00916.24
7.3.120.0030.01314.64
7.2.330.0120.00916.50
7.2.320.0090.00616.15
7.2.310.0070.01316.40
7.2.300.0110.00516.13
7.2.290.0090.00916.62
7.2.80.0070.00716.60
7.2.60.0180.00616.39
7.2.50.0060.00916.36
7.1.200.0030.00615.60
7.1.100.0040.00717.55
7.1.70.0030.00516.80
7.1.60.0140.01119.32
7.1.50.0080.00316.62
7.1.00.0000.08022.44
7.0.200.0060.00616.62
7.0.140.0000.09722.11
7.0.60.0130.07719.85
7.0.50.0070.06317.86
7.0.40.0100.08720.15
7.0.30.0230.04720.34
7.0.20.0230.04020.16
7.0.10.0370.07720.09
7.0.00.0030.05020.19
5.6.280.0030.07320.78
5.6.210.0130.07720.46
5.6.200.0070.08318.19
5.6.190.0100.04320.63
5.6.180.0470.06020.61
5.6.170.0270.06720.44
5.6.160.0070.04020.46
5.6.150.0100.06018.14
5.6.140.0070.08018.18
5.6.130.0030.08318.27
5.6.120.0030.07020.95
5.6.110.0070.08321.06
5.6.100.0070.05721.04
5.6.90.0100.04321.01
5.6.80.0100.07020.43
5.6.70.4400.04020.27
5.5.350.0030.05320.45
5.5.340.0130.03717.95
5.5.330.0130.07320.26
5.5.320.0000.07720.38
5.5.310.0370.04720.34
5.5.300.0030.08317.95
5.5.290.0000.05017.95
5.5.280.0000.04320.89
5.5.270.0070.06020.73
5.5.260.0030.04720.86
5.5.250.0070.08320.79
5.5.240.0130.07020.16
5.4.450.0530.04719.42
5.4.440.0770.04719.64
5.4.430.0170.05319.41
5.4.420.0370.03319.45
5.4.410.0200.04719.41
5.4.400.0500.07718.90
5.4.390.0370.05718.76
5.4.380.0230.06018.45
5.4.370.0170.05318.52
5.4.360.0170.05318.49
5.4.350.0200.05018.75
5.4.340.0100.05718.79
5.4.320.0080.03912.49
5.4.310.0070.04812.48
5.4.300.0060.03612.49
5.4.290.0070.03612.48
5.4.280.0060.03512.39
5.4.270.0100.04112.38
5.4.260.0060.04312.39
5.4.250.0060.05012.38
5.4.240.0070.03612.39
5.4.230.0040.04112.38
5.4.220.0090.03212.38
5.4.210.0060.03412.38
5.4.200.0070.03712.38
5.4.190.0220.03912.38
5.4.180.0200.04012.37
5.4.170.0170.04612.38
5.4.160.0210.04112.38
5.4.150.0180.04612.38
5.4.140.0140.04612.05
5.4.130.0260.09612.04
5.4.120.0130.04312.00
5.4.110.0160.04112.00
5.4.100.0150.04311.99
5.4.90.0180.04011.99
5.4.80.0140.04712.00
5.4.70.0130.04611.99
5.4.60.0280.08911.99
5.4.50.0200.03811.99
5.4.40.0180.04011.98
5.4.30.0160.04311.97
5.4.20.0160.04211.98
5.4.10.0190.04011.98
5.4.00.0250.06311.47
5.3.290.0060.03912.80
5.3.280.0040.03812.71
5.3.270.0170.04412.73
5.3.260.0170.04512.72
5.3.250.1190.06112.72
5.3.240.0170.04212.72
5.3.230.0110.05212.71
5.3.220.0190.04512.68
5.3.210.0340.09212.68
5.3.200.0160.04412.68
5.3.190.0140.04912.68
5.3.180.0190.04012.67
5.3.170.0160.04812.67
5.3.160.0160.04412.67
5.3.150.0360.08812.68
5.3.140.0160.04512.66
5.3.130.0180.04512.65
5.3.120.0360.05612.66
5.3.110.0150.04512.66
5.3.100.0210.04312.11
5.3.90.0190.04612.09
5.3.80.0280.09812.08
5.3.70.0180.04412.08
5.3.60.0180.04512.07
5.3.50.0180.04512.02
5.3.40.0220.06912.01
5.3.30.0210.03911.98
5.3.20.0470.07411.76
5.3.10.0140.04411.71
5.3.00.0160.04411.70

preferences:
49.3 ms | 401 KiB | 5 Q