3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo { class bar {} } namespace { use baz as 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.60.0040.01118.27
8.3.50.0100.00522.12
8.3.40.0090.00918.69
8.3.30.0100.00318.79
8.3.20.0040.00420.21
8.3.10.0040.00422.05
8.3.00.0000.00922.45
8.2.180.0180.00416.63
8.2.170.0030.01518.84
8.2.160.0120.00322.96
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0050.00318.99
8.2.110.0070.00322.25
8.2.100.0080.00417.66
8.2.90.0030.00618.91
8.2.80.0000.00817.97
8.2.70.0030.00517.38
8.2.60.0040.00417.68
8.2.50.0000.00818.07
8.2.40.0070.00017.96
8.2.30.0070.00017.83
8.2.20.0070.00017.52
8.2.10.0000.00817.66
8.2.00.0040.00417.46
8.1.280.0150.00925.92
8.1.270.0050.00323.91
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.98
8.1.230.0090.00318.96
8.1.220.0050.00317.74
8.1.210.0030.00618.77
8.1.200.0030.00617.23
8.1.190.0050.00217.38
8.1.180.0030.00518.10
8.1.170.0030.00618.53
8.1.160.0040.00421.84
8.1.150.0000.00718.46
8.1.140.0030.00517.36
8.1.130.0030.00317.71
8.1.120.0000.00717.34
8.1.110.0030.00617.23
8.1.100.0070.00017.36
8.1.90.0000.00817.36
8.1.80.0050.00317.29
8.1.70.0030.00317.27
8.1.60.0030.00617.43
8.1.50.0040.00417.44
8.1.40.0070.00017.35
8.1.30.0050.00317.55
8.1.20.0000.00817.40
8.1.10.0040.00417.34
8.1.00.0000.00717.33
8.0.300.0040.00418.77
8.0.290.0000.00716.93
8.0.280.0000.00718.35
8.0.270.0000.00717.16
8.0.260.0070.00016.73
8.0.250.0030.00316.82
8.0.240.0070.00016.80
8.0.230.0000.00816.80
8.0.220.0000.00716.77
8.0.210.0070.00016.75
8.0.200.0000.00616.88
8.0.190.0000.00716.81
8.0.180.0040.00416.68
8.0.170.0040.00416.67
8.0.160.0040.00416.76
8.0.150.0030.00616.58
8.0.140.0000.00816.55
8.0.130.0000.00613.14
8.0.120.0000.00816.72
8.0.110.0070.00016.80
8.0.100.0030.00316.72
8.0.90.0030.00516.70
8.0.80.0090.00916.73
8.0.70.0000.00716.59
8.0.60.0000.00716.73
8.0.50.0000.00716.59
8.0.30.0100.00916.86
8.0.20.0080.01117.40
8.0.10.0020.00516.92
8.0.00.0040.01416.59
7.4.330.0000.00515.00
7.4.320.0030.00316.38
7.4.300.0030.00316.30
7.4.290.0030.00316.39
7.4.280.0030.00616.43
7.4.270.0070.00016.37
7.4.260.0040.00416.46
7.4.250.0050.00216.38
7.4.240.0010.00616.41
7.4.230.0030.00316.22
7.4.220.0140.00316.48
7.4.210.0040.01116.48
7.4.200.0030.00316.53
7.4.190.0000.00716.59
7.4.160.0120.00416.36
7.4.150.0060.01217.40
7.4.140.0090.00817.86
7.4.130.0070.01016.37
7.4.120.0120.01116.30
7.4.110.0040.01316.39
7.4.100.0120.00916.27
7.4.90.0140.00616.34
7.4.80.0120.00619.39
7.4.70.0000.01616.26
7.4.60.0030.01216.23
7.4.50.0000.00716.26
7.4.40.0060.00622.77
7.4.30.0080.00916.32
7.4.00.0030.01114.83
7.3.330.0000.00513.03
7.3.320.0000.00613.09
7.3.310.0040.00416.04
7.3.300.0030.00316.16
7.3.290.0030.01116.17
7.3.280.0120.00716.16
7.3.270.0030.01417.40
7.3.260.0160.00816.37
7.3.250.0090.00916.36
7.3.240.0120.00616.08
7.3.230.0100.00716.39
7.3.210.0110.01116.44
7.3.200.0130.01019.39
7.3.190.0070.00416.22
7.3.180.0040.01216.14
7.3.170.0090.00616.27
7.3.160.0100.00616.18
7.3.120.0060.00914.69
7.2.330.0140.00916.32
7.2.320.0030.01316.64
7.2.310.0150.00316.47
7.2.300.0110.00516.56
7.2.290.0060.00916.27
7.2.00.0070.01019.05
7.1.100.0080.00317.63
7.1.70.0030.00716.99
7.1.60.0150.00719.82
7.1.50.0070.01416.70
7.1.00.0170.06322.33
7.0.200.0070.00416.60
7.0.140.0000.07722.04
7.0.60.0000.08019.87
7.0.50.0070.07717.85
7.0.40.0170.07020.13
7.0.30.0230.05320.17
7.0.20.0170.05320.20
7.0.10.0330.07020.23
7.0.00.0030.04720.25
5.6.280.0030.07320.92
5.6.210.0030.04020.71
5.6.200.0170.07318.29
5.6.190.0130.07720.57
5.6.180.4100.04720.39
5.6.170.0400.06320.50
5.6.160.0070.05320.59
5.6.150.0070.07718.16
5.6.140.0100.06018.18
5.6.130.0100.08318.22
5.6.120.0100.08020.98
5.6.110.0130.08020.98
5.6.100.0100.08021.13
5.6.90.0070.07321.12
5.6.80.0100.07720.37
5.6.70.0270.04320.37
5.5.350.0030.08320.38
5.5.340.0070.04017.98
5.5.330.0030.05320.25
5.5.320.0030.08020.21
5.5.310.0200.03720.19
5.5.300.0100.07717.99
5.5.290.0130.07717.95
5.5.280.0100.08020.86
5.5.270.0170.07720.79
5.5.260.0030.04720.96
5.5.250.0070.06720.68
5.5.240.0030.06720.14
5.4.450.0000.04719.19
5.4.440.1970.04319.46
5.4.430.1970.04719.32
5.4.420.1800.04019.32
5.4.410.1970.04719.51
5.4.400.1900.04019.00
5.4.390.0700.05318.84
5.4.380.0030.04018.84
5.4.370.0070.03719.13
5.4.360.1130.04319.24
5.4.350.1930.04319.24
5.4.340.2100.04018.98
5.4.320.2170.04319.07
5.4.310.1670.03718.95
5.4.300.2130.04319.22
5.4.290.2100.04019.14
5.4.280.1970.04019.14
5.4.270.0370.04718.97
5.4.260.0170.04319.30
5.4.250.0200.03319.14
5.4.240.0200.05718.99
5.4.230.0170.03318.86
5.4.220.0200.07318.94
5.4.210.0230.05019.13
5.4.200.0130.04018.84
5.4.190.0230.06318.86
5.4.180.0130.04019.14
5.4.170.0130.04019.25
5.4.160.0230.03719.29
5.4.150.0070.04318.84
5.4.140.0170.04316.54
5.4.130.0130.04016.31
5.4.120.0000.03716.35
5.4.110.0100.05016.47
5.4.100.0070.05716.55
5.4.90.0030.04016.51
5.4.80.0070.04016.55
5.4.70.1600.04316.55
5.4.60.0070.04016.54
5.4.50.0130.06716.43
5.4.40.0970.04016.42
5.4.30.0230.06016.42
5.4.20.0230.03316.53
5.4.10.0170.06016.53
5.4.00.0200.07315.94
5.3.290.0200.05714.80
5.3.280.0230.03714.55
5.3.270.0200.03714.50
5.3.260.0170.05714.68
5.3.250.0130.05314.71
5.3.240.0130.04014.52
5.3.230.0030.04314.64
5.3.220.0130.04014.57
5.3.210.0230.03014.55
5.3.200.0100.03714.57
5.3.190.0070.06714.54
5.3.180.0600.07014.53
5.3.170.0130.06314.55
5.3.160.0130.05014.45
5.3.150.0070.06714.78
5.3.140.1600.03714.63
5.3.130.1770.04014.53
5.3.120.1970.04714.50
5.3.110.0030.07714.57
5.3.100.0170.05713.94
5.3.90.1070.05314.02
5.3.80.0200.05314.09
5.3.70.0100.07014.02
5.3.60.1400.03714.01
5.3.50.0070.03713.94
5.3.40.0030.04013.84
5.3.30.0500.04313.81
5.3.20.1800.03713.69
5.3.10.0070.04713.70
5.3.00.0030.03713.68

preferences:
48.83 ms | 401 KiB | 5 Q