3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo; class Bar { } namespace NS2; new Foo\Bar; use Foo\Bar; $class = "Bar"; new $class; new Bar; new 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.60.0120.00316.63
8.3.50.0100.01217.53
8.3.40.0070.00718.79
8.3.30.0070.00718.58
8.3.20.0030.00618.68
8.3.10.0040.00418.77
8.3.00.0110.00719.50
8.2.180.0130.00916.38
8.2.170.0140.00422.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0100.01020.75
8.2.110.0110.00720.87
8.2.100.0110.00017.78
8.2.90.0000.00819.30
8.2.80.0040.00419.25
8.2.70.0040.00417.25
8.2.60.0000.00917.91
8.2.50.0040.00418.07
8.2.40.0030.00718.09
8.2.30.0020.00517.83
8.2.20.0090.00017.70
8.2.10.0070.00017.54
8.2.00.0070.00017.65
8.1.280.0100.00725.92
8.1.270.0050.00324.66
8.1.260.0110.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.54
8.1.230.0060.00620.87
8.1.220.0040.00417.74
8.1.210.0030.00518.92
8.1.200.0040.00417.10
8.1.190.0000.00917.39
8.1.180.0030.00618.10
8.1.170.0000.00818.84
8.1.160.0040.00418.73
8.1.150.0040.00418.46
8.1.140.0040.00417.27
8.1.130.0060.00017.66
8.1.120.0000.00717.33
8.1.110.0000.00717.31
8.1.100.0000.00717.23
8.1.90.0000.00717.32
8.1.80.0040.00417.20
8.1.70.0040.00417.21
8.1.60.0080.00017.45
8.1.50.0040.00417.29
8.1.40.0040.00417.48
8.1.30.0040.00417.48
8.1.20.0040.00417.51
8.1.10.0060.00317.54
8.1.00.0060.00317.48
8.0.300.0040.00419.90
8.0.290.0070.00016.75
8.0.280.0000.00718.38
8.0.270.0000.00717.12
8.0.260.0030.00316.84
8.0.250.0050.00316.88
8.0.240.0030.00316.81
8.0.230.0060.00016.89
8.0.220.0000.00716.87
8.0.210.0030.00316.93
8.0.200.0030.00316.95
8.0.190.0080.00416.95
8.0.180.0040.00416.93
8.0.170.0060.00316.79
8.0.160.0000.00816.92
8.0.150.0000.01016.88
8.0.140.0050.00316.74
8.0.130.0030.00313.35
8.0.120.0000.00716.81
8.0.110.0000.00716.88
8.0.100.0030.00316.90
8.0.90.0000.00716.89
8.0.80.0060.00916.84
8.0.70.0040.00416.71
8.0.60.0030.00516.93
8.0.50.0050.00316.84
8.0.30.0030.01716.89
8.0.20.0170.01016.88
8.0.10.0030.00616.97
8.0.00.0190.01616.71
7.4.330.0020.00212.88
7.4.320.0000.00816.35
7.4.300.0040.00416.51
7.4.290.0060.00316.57
7.4.280.0040.00416.48
7.4.270.0030.00416.38
7.4.260.0000.00513.18
7.4.250.0000.00816.30
7.4.240.0060.00216.54
7.4.230.0030.00316.32
7.4.220.0030.01416.51
7.4.210.0070.01016.59
7.4.200.0000.00816.27
7.4.190.0030.00316.65
7.4.160.0030.01516.55
7.4.150.0120.00816.53
7.4.140.0100.00716.43
7.4.130.0050.01116.47
7.4.120.0090.00816.49
7.4.110.0100.00716.40
7.4.100.0110.00816.63
7.4.90.0080.00816.45
7.4.80.0070.01019.39
7.4.70.0120.00616.62
7.4.60.0130.00616.37
7.4.50.0040.00816.45
7.4.40.0070.00716.28
7.4.30.0130.00316.49
7.4.00.0090.00914.79
7.3.330.0030.00313.29
7.3.320.0050.00013.31
7.3.310.0070.00016.39
7.3.300.0030.00316.22
7.3.290.0120.00616.22
7.3.280.0090.00816.29
7.3.270.0060.01216.35
7.3.260.0100.01416.14
7.3.250.0120.01016.53
7.3.240.0210.00316.26
7.3.230.0100.00616.37
7.3.210.0100.00716.31
7.3.200.0060.01516.59
7.3.190.0090.00616.15
7.3.180.0040.01116.56
7.3.170.0150.00716.35
7.3.160.0090.01216.43
7.3.120.0050.00914.64
7.3.110.0030.01414.68
7.3.100.0000.00914.51
7.3.90.0060.00614.79
7.3.80.0050.00514.83
7.3.70.0060.01014.65
7.3.60.0060.00614.86
7.3.50.0000.01114.69
7.3.40.0060.00314.79
7.3.30.0070.00714.82
7.3.20.0040.00716.46
7.3.10.0060.00816.47
7.3.00.0020.01216.44
7.2.330.0030.01516.49
7.2.320.0060.01116.23
7.2.310.0090.00916.21
7.2.300.0100.00816.62
7.2.290.0040.01216.48
7.2.250.0090.01215.00
7.2.240.0080.01115.04
7.2.230.0030.01315.02
7.2.220.0030.00914.96
7.2.210.0080.00614.91
7.2.200.0070.00714.65
7.2.190.0150.00315.04
7.2.180.0110.00714.68
7.2.170.0060.00914.97
7.2.130.0030.00716.68
7.2.120.0070.00716.65
7.2.110.0040.00716.76
7.2.100.0070.00316.70
7.2.90.0030.01416.50
7.2.80.0070.00716.87
7.2.70.0000.01216.72
7.2.60.0110.00316.79
7.2.50.0070.00416.53
7.2.40.0000.01016.50
7.2.30.0100.00716.80
7.2.20.0030.00916.60
7.2.10.0000.01216.48
7.2.00.0050.00618.17
7.1.330.0060.01015.59
7.1.320.0120.00315.64
7.1.310.0040.00815.51
7.1.300.0140.00015.69
7.1.290.0000.00815.71
7.1.280.0070.01015.58
7.1.270.0070.01015.57
7.1.260.0130.00315.34
7.1.250.0050.00515.69
7.1.200.0070.00315.66
7.1.100.0070.00717.86
7.1.70.0000.00917.04
7.1.60.0100.01619.40
7.1.50.0140.00716.76
7.1.00.0070.07322.45
7.0.200.0390.01114.37
7.0.140.0000.07322.10
7.0.120.0030.05022.19
7.0.60.0130.07320.07
7.0.50.0000.08717.84
7.0.40.0100.03720.02
7.0.30.0270.04720.23
7.0.20.0230.05020.20
7.0.10.0130.08020.06
7.0.00.0070.07020.08
5.6.280.0100.06721.00
5.6.210.0130.06020.47
5.6.200.0100.05018.14
5.6.190.0030.04320.65
5.6.180.0300.04020.43
5.6.170.0300.06020.50
5.6.160.0070.08720.50
5.6.150.0030.07018.29
5.6.140.0130.07318.23
5.6.130.0070.07718.17
5.6.120.0170.04720.94
5.6.110.0130.07720.99
5.6.100.0070.03721.13
5.6.90.0000.07021.13
5.6.80.0170.07020.32
5.5.350.0170.08320.33
5.5.340.0100.04017.96
5.5.330.0130.04020.32
5.5.320.0370.07720.29
5.5.310.0300.07020.26
5.5.300.0030.08017.95
5.5.290.0100.06318.02
5.5.280.0130.05720.97
5.5.270.0100.05320.66
5.5.260.0100.08020.96
5.5.250.0100.03320.61
5.5.240.0330.07020.16
5.4.450.0130.07319.53
5.4.440.0070.08719.16
5.4.430.0100.07719.39
5.4.420.0070.07319.56
5.4.410.0030.04019.44
5.4.400.0130.04018.86
5.4.390.0100.07719.15
5.4.380.0000.04719.15
5.4.370.0170.07019.15
5.4.360.0030.08718.97
5.4.350.0030.08019.21
5.4.340.0070.03719.02
5.4.320.0030.04319.08
5.4.310.0030.08018.98
5.4.300.0100.05019.24
5.4.290.0100.04019.17
5.4.280.0030.04718.98
5.4.270.0130.07018.84
5.4.260.0000.07719.14
5.4.250.0170.06319.14
5.4.240.0100.07319.14
5.4.230.0070.04719.11
5.4.220.0030.06318.84
5.4.210.0030.04319.20
5.4.200.0130.03718.84
5.4.190.0030.06719.14
5.4.180.0070.06018.94
5.4.170.0230.05019.19
5.4.160.0030.08318.82
5.4.150.0030.08319.13
5.4.140.0030.08016.32
5.4.130.0130.07316.42
5.4.120.0100.06016.43
5.4.110.0030.03716.46
5.4.100.0070.03716.34
5.4.90.0030.03316.43
5.4.80.0030.03716.29
5.4.70.0130.02316.29
5.4.60.0000.03716.28
5.4.50.0000.03716.27
5.4.40.0070.03716.42
5.4.30.0030.04316.27
5.4.20.0070.03016.30
5.4.10.0030.03316.30
5.4.00.0000.03715.91
5.3.290.0100.06014.68
5.3.280.0100.04714.58
5.3.270.0100.04314.48
5.3.260.0130.07314.64
5.3.250.0100.06314.75
5.3.240.0000.05314.59
5.3.230.0030.07014.75
5.3.220.0200.04714.70
5.3.210.0100.03314.48
5.3.200.0030.03714.61
5.3.190.0030.03714.59
5.3.180.0030.03714.59
5.3.170.0000.04014.56
5.3.160.0000.04014.56
5.3.150.0030.03714.60
5.3.140.0000.03714.60
5.3.130.0030.03714.45
5.3.120.0000.04314.59
5.3.110.0030.03714.54
5.3.100.0030.03714.08
5.3.90.0000.04314.02
5.3.80.0030.03313.98
5.3.70.0070.03714.07
5.3.60.0000.03713.92
5.3.50.0000.03713.89
5.3.40.0030.03313.83
5.3.30.0030.03313.95
5.3.20.0030.03713.75
5.3.10.0030.03313.61
5.3.00.0030.04013.63
5.2.170.0000.03010.96
5.2.160.0100.03011.07
5.2.150.0030.06011.05
5.2.140.0100.02711.09
5.2.130.0030.02711.10
5.2.120.0000.03010.95
5.2.110.0030.02711.09
5.2.100.0000.03011.08
5.2.90.0100.02311.00
5.2.80.0030.02710.99
5.2.70.0030.02711.08
5.2.60.0000.03010.98
5.2.50.0030.03011.03
5.2.40.0000.03010.99
5.2.30.0000.03010.79
5.2.20.0030.03011.11
5.2.10.0000.03010.74
5.2.00.0030.02710.70
5.1.60.0000.0239.89
5.1.50.0000.0279.83
5.1.40.0070.02010.12
5.1.30.0000.02710.34
5.1.20.0000.02710.30
5.1.10.0000.02710.06
5.1.00.0030.04010.06
5.0.50.0000.0278.70
5.0.40.0070.0478.70
5.0.30.0000.0538.70
5.0.20.0070.0408.70
5.0.10.0000.0308.70
5.0.00.0100.0478.70
4.4.90.0000.0138.70
4.4.80.0030.0108.70
4.4.70.0030.0138.70
4.4.60.0030.0138.70
4.4.50.0000.0138.70
4.4.40.0000.0238.70
4.4.30.0000.0138.70
4.4.20.0000.0178.70
4.4.10.0000.0238.70
4.4.00.0000.0578.70
4.3.110.0030.0278.70
4.3.100.0100.0278.70
4.3.90.0030.0378.70
4.3.80.0070.0508.70
4.3.70.0000.0338.70
4.3.60.0000.0278.70
4.3.50.0070.0338.70
4.3.40.0030.0478.70
4.3.30.0000.0238.70
4.3.20.0100.0308.70
4.3.10.0000.0408.70
4.3.00.0030.0338.70

preferences:
40.16 ms | 401 KiB | 5 Q