3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait Foo { public function foo() { return 'foo'; } } trait FooBar { abstract public function foo(); } class A { use Foo, FooBar; }

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.0170.00318.31
8.3.50.0000.01418.05
8.3.40.0090.00618.54
8.3.30.0100.00318.88
8.3.20.0040.00420.03
8.3.10.0040.00421.90
8.3.00.0040.00419.25
8.2.180.0060.01218.29
8.2.170.0110.00322.96
8.2.160.0110.00422.12
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00019.66
8.2.110.0030.00619.33
8.2.100.0000.01117.63
8.2.90.0080.00019.13
8.2.80.0000.00817.97
8.2.70.0030.00617.50
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0040.00418.16
8.2.30.0050.00218.08
8.2.20.0030.00617.59
8.2.10.0040.00418.00
8.2.00.0040.00417.72
8.1.280.0100.00725.92
8.1.270.0000.00724.66
8.1.260.0000.00726.35
8.1.250.0100.00028.09
8.1.240.0050.00523.97
8.1.230.0170.00017.42
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0060.00317.22
8.1.190.0000.00917.23
8.1.180.0070.00018.10
8.1.170.0000.00920.25
8.1.160.0030.00521.99
8.1.150.0000.00818.73
8.1.140.0040.00417.27
8.1.130.0000.00717.77
8.1.120.0040.00417.39
8.1.110.0070.00017.42
8.1.100.0000.00717.33
8.1.90.0040.00417.37
8.1.80.0050.00217.39
8.1.70.0070.00017.36
8.1.60.0040.00417.43
8.1.50.0030.00617.33
8.1.40.0050.00217.41
8.1.30.0060.00317.43
8.1.20.0040.00417.59
8.1.10.0060.00317.39
8.1.00.0030.00517.34
8.0.300.0050.00318.77
8.0.290.0030.00616.63
8.0.280.0000.00718.42
8.0.270.0000.00817.23
8.0.260.0040.00417.18
8.0.250.0070.00016.82
8.0.240.0050.00216.92
8.0.230.0080.00016.76
8.0.220.0030.00316.84
8.0.210.0070.00016.86
8.0.200.0060.00016.88
8.0.190.0080.00016.74
8.0.180.0040.00416.83
8.0.170.0050.00216.76
8.0.160.0050.00216.82
8.0.150.0040.00416.75
8.0.140.0070.00016.73
8.0.130.0030.00313.33
8.0.120.0080.00016.80
8.0.110.0000.00816.78
8.0.100.0000.00816.65
8.0.90.0030.00316.77
8.0.80.0070.00716.71
8.0.70.0020.00516.85
8.0.60.0030.00316.81
8.0.50.0040.00416.88
8.0.30.0130.00817.01
8.0.20.0150.00817.40
8.0.10.0050.00217.03
8.0.00.0100.00816.70
7.4.330.0050.00015.09
7.4.320.0000.00616.43
7.4.300.0040.00416.35
7.4.290.0070.00016.53
7.4.280.0040.00416.53
7.4.270.0030.00316.55
7.4.260.0030.00316.40
7.4.250.0040.00416.51
7.4.240.0030.00316.47
7.4.230.0050.00216.23
7.4.220.0140.00416.53
7.4.210.0060.00916.61
7.4.200.0030.00316.36
7.4.160.0030.01316.50
7.4.150.0100.01317.40
7.4.140.0090.01117.86
7.4.130.0040.01216.45
7.4.120.0020.01416.46
7.4.110.0110.00716.42
7.4.100.0130.01016.47
7.4.90.0070.01016.33
7.4.80.0060.01319.39
7.4.70.0120.01016.41
7.4.60.0060.01116.60
7.4.50.0000.00816.31
7.4.40.0080.00816.13
7.4.30.0050.01316.07
7.4.00.0100.00614.71
7.3.330.0070.00013.14
7.3.320.0070.00713.17
7.3.310.0040.00416.28
7.3.300.0030.00316.05
7.3.290.0030.00316.15
7.3.280.0050.01216.15
7.3.270.0060.01017.40
7.3.260.0130.01016.38
7.3.250.0100.00816.54
7.3.240.0070.01316.14
7.3.230.0140.00316.39
7.3.210.0080.00916.41
7.3.200.0120.00619.39
7.3.190.0140.00316.30
7.3.180.0090.00616.25
7.3.170.0090.00916.45
7.3.160.0060.01016.14
7.2.330.0100.00716.30
7.2.320.0030.01316.66
7.2.310.0120.00916.40
7.2.300.0190.00316.45
7.2.290.0170.00016.34
7.2.60.0140.00016.48
7.2.00.0030.01019.32
7.1.200.0000.01115.27
7.1.100.0000.01318.01
7.1.70.0000.01017.16
7.1.60.0090.01519.46
7.1.50.0000.02116.60
7.1.00.0070.07322.29
7.0.200.0170.00014.93
7.0.140.0030.07722.04
7.0.60.0100.06019.81
7.0.50.0100.03317.88
7.0.40.0170.07720.11
7.0.30.0300.07720.12
7.0.20.0270.04020.06
7.0.10.0070.08320.16
7.0.00.0070.04320.08
5.6.280.0100.06720.86
5.6.210.0100.05320.75
5.6.200.0030.09018.25
5.6.190.0130.08020.41
5.6.180.0230.05720.64
5.6.170.0300.07020.56
5.6.160.0070.05020.49
5.6.150.0070.04718.12
5.6.140.0070.06318.19
5.6.130.0070.08318.20
5.6.120.0070.05021.02
5.6.110.0170.06720.95
5.6.100.0130.04021.04
5.6.90.0030.05321.10
5.6.80.0100.03320.37
5.5.350.0300.06020.44
5.5.340.0030.05717.93
5.5.330.0070.08720.13
5.5.320.0130.03720.31
5.5.310.0230.05320.24
5.5.300.0000.09017.95
5.5.290.0070.05317.91
5.5.280.0130.07320.88
5.5.270.0070.06020.95
5.5.260.0030.04020.65
5.5.250.0070.05320.70
5.5.240.0030.03020.15
5.4.450.2170.04319.57
5.4.440.1530.04319.30
5.4.430.1630.03319.47
5.4.420.1670.03019.48
5.4.410.1730.04319.34
5.4.400.1530.03319.22
5.4.390.1700.04018.98
5.4.380.1700.04019.22
5.4.370.1100.04319.15
5.4.360.0070.03319.15
5.4.350.0100.07019.22
5.4.340.1230.03018.87
5.4.320.1600.03718.96
5.4.310.1870.03718.95
5.4.300.1570.03719.19
5.4.290.1770.03319.06
5.4.280.1770.03319.14
5.4.270.1500.04019.24
5.4.260.0430.06718.98
5.4.250.0000.07718.97
5.4.240.0130.03718.97
5.4.230.0400.04019.20
5.4.220.1830.05018.80
5.4.210.1630.04019.19
5.4.200.1030.04319.18
5.4.190.0100.04019.03
5.4.180.0070.04319.13
5.4.170.1530.05019.13
5.4.160.1900.04319.07
5.4.150.1800.03718.96
5.4.140.1830.04016.72
5.4.130.1730.03316.39
5.4.120.1730.04016.33
5.4.110.1800.04016.30
5.4.100.1870.04716.61
5.4.90.1530.03716.58
5.4.80.1930.03716.59
5.4.70.1770.04016.31
5.4.60.0330.06316.55
5.4.50.0070.04316.25
5.4.40.0470.07016.32
5.4.30.1900.04316.51
5.4.20.1630.04016.53
5.4.10.1730.04016.39
5.4.00.1770.05015.73
5.3.290.1530.04014.68
5.3.280.1900.04314.43
5.3.270.1770.05014.45
5.3.260.1770.04314.55
5.3.250.1530.03714.62
5.3.240.1770.04314.48
5.3.230.1470.04314.54
5.3.220.0070.04014.52
5.3.210.0100.05014.52
5.3.200.0830.03714.42
5.3.190.1900.04314.41
5.3.180.1930.04014.66
5.3.170.1500.03714.42
5.3.160.1630.03314.58
5.3.150.1570.04014.41
5.3.140.1800.04714.40
5.3.130.1630.04014.39
5.3.120.1970.04714.59
5.3.110.1570.04014.42
5.3.100.1600.04013.90
5.3.90.1330.03313.86
5.3.80.0130.03313.87
5.3.70.0070.03313.86
5.3.60.0800.03713.79
5.3.50.1570.04013.79
5.3.40.1830.04713.88
5.3.30.1600.03713.86
5.3.20.1670.03013.64
5.3.10.1530.03713.48
5.3.00.1500.04013.47
5.2.170.1400.02711.00
5.2.160.1570.03710.99
5.2.150.1330.02711.30
5.2.140.1300.03311.08
5.2.130.1330.03010.95
5.2.120.1370.02310.95
5.2.110.0170.04011.04
5.2.100.0100.02711.18
5.2.90.0000.03311.15
5.2.80.1070.03311.25
5.2.70.1370.03010.94
5.2.60.1270.02710.88
5.2.50.1370.02710.87
5.2.40.1100.02710.83
5.2.30.1130.02710.91
5.2.20.1030.02010.79
5.2.10.0970.02710.77
5.2.00.1400.03010.61
5.1.60.1130.02710.08
5.1.50.1370.0309.88
5.1.40.0970.0239.98
5.1.30.0930.03310.42
5.1.20.1030.02710.43
5.1.10.1070.02310.09
5.1.00.0570.02710.23
5.0.50.0030.0178.49
5.0.40.0000.0278.39
5.0.30.0030.0278.12
5.0.20.0030.0178.27
5.0.10.0000.0208.14
5.0.00.0000.0308.30
4.4.90.0000.0178.07
4.4.80.0530.0138.07
4.4.70.0400.0178.07
4.4.60.0570.0138.07
4.4.50.0500.0178.07
4.4.40.0600.0308.07
4.4.30.0530.0138.07
4.4.20.0500.0178.07
4.4.10.0470.0108.07
4.4.00.0600.0308.07
4.3.110.0500.0178.07
4.3.100.0600.0108.07
4.3.90.0530.0138.07
4.3.80.0530.0238.07
4.3.70.0500.0178.07
4.3.60.0500.0178.07
4.3.50.0530.0138.07
4.3.40.0400.0238.07
4.3.30.0230.0178.07
4.3.20.0230.0178.07
4.3.10.0270.0138.07
4.3.00.0370.0138.07

preferences:
50.05 ms | 400 KiB | 5 Q