3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace A { class Test {} } namespace B { use A\Test as Test3; class Test {} class Test2 {} }

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.0100.00318.30
8.3.50.0130.00721.20
8.3.40.0090.00618.38
8.3.30.0100.00718.44
8.3.20.0080.00020.24
8.3.10.0000.00823.70
8.3.00.0080.00022.44
8.2.180.0100.00716.32
8.2.170.0030.01422.96
8.2.160.0070.00722.08
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0030.00626.16
8.2.120.0080.00017.50
8.2.110.0070.00320.99
8.2.100.0060.00617.59
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0030.00617.25
8.2.60.0020.00517.80
8.2.50.0040.00418.07
8.2.40.0040.00719.34
8.2.30.0040.00419.60
8.2.20.0040.00417.46
8.2.10.0000.00717.90
8.2.00.0040.00417.98
8.1.280.0140.00425.92
8.1.270.0050.00320.39
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0060.00323.92
8.1.230.0040.00717.63
8.1.220.0000.00917.74
8.1.210.0000.00818.77
8.1.200.0030.00617.10
8.1.190.0040.00417.22
8.1.180.0030.00518.10
8.1.170.0060.00318.58
8.1.160.0070.00021.86
8.1.150.0000.00718.74
8.1.140.0080.00017.23
8.1.130.0000.00717.56
8.1.120.0070.00017.35
8.1.110.0040.00417.20
8.1.100.0000.00717.38
8.1.90.0030.00317.26
8.1.80.0040.00417.21
8.1.70.0070.00017.22
8.1.60.0040.00417.49
8.1.50.0000.00917.40
8.1.40.0000.00717.36
8.1.30.0040.00417.52
8.1.20.0060.00317.34
8.1.10.0040.00417.28
8.1.00.0000.00717.31
8.0.300.0070.00018.77
8.0.290.0060.00316.63
8.0.280.0030.00518.26
8.0.270.0000.00717.14
8.0.260.0000.00717.11
8.0.250.0000.00716.76
8.0.240.0070.00016.74
8.0.230.0060.00016.75
8.0.220.0000.00716.77
8.0.210.0000.00716.65
8.0.200.0000.00616.85
8.0.190.0040.00416.71
8.0.180.0030.00416.83
8.0.170.0050.00316.73
8.0.160.0080.00016.87
8.0.150.0040.00416.70
8.0.140.0050.00316.74
8.0.130.0050.00513.14
8.0.120.0040.00416.73
8.0.110.0070.00016.66
8.0.100.0000.00716.64
8.0.90.0070.00016.61
8.0.80.0130.00716.64
8.0.70.0040.00416.79
8.0.60.0020.00516.71
8.0.50.0040.00416.59
8.0.30.0100.00916.82
8.0.20.0120.00617.40
8.0.10.0000.00716.80
8.0.00.0070.01216.68
7.4.330.0000.00515.14
7.4.320.0060.00016.33
7.4.300.0000.00616.26
7.4.290.0040.00416.44
7.4.280.0040.00416.48
7.4.270.0000.00616.48
7.4.260.0040.00416.25
7.4.250.0040.00416.43
7.4.240.0020.00516.48
7.4.230.0030.00316.26
7.4.220.0070.02116.31
7.4.210.0090.00916.53
7.4.200.0020.00516.29
7.4.160.0060.00916.48
7.4.150.0100.00717.40
7.4.140.0120.00917.86
7.4.130.0080.00816.35
7.4.120.0120.00716.34
7.4.110.0140.00316.34
7.4.100.0130.00616.30
7.4.90.0070.01116.28
7.4.80.0090.00919.39
7.4.70.0100.01016.28
7.4.60.0100.00516.33
7.4.50.0040.00416.26
7.4.40.0070.01016.55
7.4.30.0070.01516.43
7.4.00.0070.01114.90
7.3.330.0000.00613.03
7.3.320.0000.00513.22
7.3.310.0070.00016.13
7.3.300.0000.00716.17
7.3.290.0040.01016.14
7.3.280.0090.01016.11
7.3.270.0150.00317.40
7.3.260.0100.01316.06
7.3.250.0030.01416.14
7.3.240.0160.00316.44
7.3.230.0140.00716.43
7.3.210.0040.01316.22
7.3.200.0030.01419.39
7.3.190.0060.01016.17
7.3.180.0120.00316.30
7.3.170.0070.01316.32
7.3.160.0040.01316.29
7.2.330.0100.01016.34
7.2.320.0060.01216.39
7.2.310.0080.00916.50
7.2.300.0100.00716.45
7.2.290.0160.00616.50
7.2.60.0000.01416.57
7.2.00.0060.00619.32
7.1.200.0030.00715.43
7.1.100.0080.00318.00
7.1.70.0080.00016.94
7.1.60.0130.01019.12
7.1.50.0070.01016.92
7.1.00.0000.08022.28
7.0.200.0180.00716.56
7.0.60.0070.08019.89
7.0.50.0100.07717.85
7.0.40.0070.08720.11
7.0.30.0270.04020.26
7.0.20.0330.07720.09
7.0.10.0070.07020.05
7.0.00.0100.05020.06
5.6.280.0000.06020.82
5.6.210.0070.03720.71
5.6.200.0030.08318.21
5.6.190.0130.06720.51
5.6.180.3700.04320.48
5.6.170.0230.04720.48
5.6.160.0070.09020.50
5.6.150.0030.04718.17
5.6.140.0070.08018.15
5.6.130.0070.03718.15
5.6.120.0000.04321.14
5.6.110.0000.05021.02
5.6.100.0070.08021.02
5.6.90.0200.05721.13
5.6.80.0070.06020.53
5.6.70.3870.04020.38
5.5.350.0100.03720.29
5.5.340.0030.05017.96
5.5.330.0100.07320.34
5.5.320.3900.03320.20
5.5.310.0230.07720.32
5.5.300.0070.03717.98
5.5.290.0030.04017.94
5.5.280.0030.06720.77
5.5.270.0000.08020.66
5.5.260.0030.04020.76
5.5.250.0100.06720.66
5.5.240.0330.06320.28
5.4.450.0900.05719.34
5.4.440.0870.05319.32
5.4.430.0830.05019.20
5.4.420.0630.05319.48
5.4.410.0670.05019.47
5.4.400.0770.04018.86
5.4.390.0630.07719.16
5.4.380.0700.04719.15
5.4.370.0770.05719.32
5.4.360.0730.05719.22
5.4.350.0700.05318.89
5.4.340.0630.05319.32
5.4.320.0730.04718.84
5.4.310.0700.04319.28
5.4.300.0700.05319.25
5.4.290.0730.05019.28
5.4.280.0730.05718.87
5.4.270.0670.05318.87
5.4.260.0630.05319.30
5.4.250.0970.05319.01
5.4.240.0700.08319.13
5.4.230.0770.05019.12
5.4.220.0830.05319.21
5.4.210.0770.05319.13
5.4.200.0600.06016.80
5.4.190.0530.05719.09
5.4.180.0630.05718.99
5.4.170.0600.05719.01
5.4.160.0630.06319.27
5.4.150.0770.05719.08
5.4.140.0770.05016.47
5.4.130.0770.05316.37
5.4.120.0800.05316.46
5.4.110.0770.04316.58
5.4.100.0900.04716.45
5.4.90.0600.07016.46
5.4.80.0430.06716.47
5.4.70.0130.04716.33
5.4.60.0230.03016.55
5.4.50.0000.07316.53
5.4.40.0270.06316.54
5.4.30.0230.07016.34
5.4.20.0430.05716.53

preferences:
58.28 ms | 401 KiB | 5 Q