3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait TOne { public function foo() { // abstract methods are not considered for conflict echo 'Test'; } } trait TTwo { public function Foo() { echo 'Test2'; } } class Bar { use TOne, TTwo; } $a = new Bar(); $a->foo(); ?>

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.0130.00618.56
8.3.50.0080.01321.05
8.3.40.0130.00718.67
8.3.30.0090.00918.93
8.3.20.0060.01220.02
8.3.10.0130.00623.66
8.3.00.0160.00619.13
8.2.180.0070.01416.75
8.2.170.0110.00422.96
8.2.160.0170.00320.46
8.2.150.0130.00624.18
8.2.140.0110.00824.66
8.2.130.0090.00926.16
8.2.120.0000.00822.16
8.2.110.0060.00320.47
8.2.100.0090.00317.50
8.2.90.0070.00019.17
8.2.80.0040.00417.97
8.2.70.0030.00617.38
8.2.60.0090.00317.68
8.2.50.0080.00018.07
8.2.40.0000.00819.64
8.2.30.0040.00418.01
8.2.20.0000.00717.68
8.2.10.0080.00017.86
8.2.00.0080.00017.53
8.1.280.0100.01025.92
8.1.270.0110.00822.14
8.1.260.0160.00326.35
8.1.250.0090.00928.09
8.1.240.0100.00023.83
8.1.230.0080.00417.42
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.22
8.1.190.0000.00917.23
8.1.180.0000.00818.10
8.1.170.0000.00818.58
8.1.160.0040.00421.97
8.1.150.0000.00718.73
8.1.140.0030.00517.29
8.1.130.0030.00317.73
8.1.120.0000.00717.44
8.1.110.0040.00417.46
8.1.100.0030.00417.38
8.1.90.0030.00517.28
8.1.80.0040.00417.26
8.1.70.0030.00317.27
8.1.60.0040.00717.49
8.1.50.0050.00317.50
8.1.40.0040.00417.35
8.1.30.0030.00517.55
8.1.20.0040.00417.63
8.1.10.0000.00717.31
8.1.00.0070.00017.32
8.0.300.0080.00018.77
8.0.290.0060.00316.75
8.0.280.0070.00018.38
8.0.270.0000.00717.20
8.0.260.0060.00017.15
8.0.250.0040.00416.95
8.0.240.0030.00316.98
8.0.230.0030.00316.93
8.0.220.0000.00716.90
8.0.210.0030.00316.95
8.0.200.0030.00716.94
8.0.190.0050.00316.85
8.0.180.0000.00716.97
8.0.170.0040.00416.96
8.0.160.0000.00716.92
8.0.150.0070.00016.90
8.0.140.0040.00716.84
8.0.130.0030.00313.36
8.0.120.0050.00316.78
8.0.110.0020.00516.73
8.0.100.0040.00416.85
8.0.90.0000.00816.84
8.0.80.0030.01616.85
8.0.70.0040.00416.77
8.0.60.0040.00416.70
8.0.50.0000.00716.91
8.0.30.0130.00716.94
8.0.20.0110.00817.40
8.0.10.0040.00417.09
8.0.00.0080.00916.85
7.4.330.0060.00015.02
7.4.320.0030.00316.48
7.4.300.0000.00616.53
7.4.290.0050.00216.51
7.4.280.0030.00616.35
7.4.270.0000.00816.44
7.4.260.0040.00716.57
7.4.250.0000.00816.55
7.4.240.0040.00416.48
7.4.230.0050.00316.53
7.4.220.0140.01016.32
7.4.210.0110.00416.61
7.4.200.0030.00516.38
7.4.160.0110.00516.66
7.4.150.0080.01117.40
7.4.140.0140.00817.86
7.4.130.0110.00716.41
7.4.120.0130.00316.63
7.4.110.0070.01416.58
7.4.100.0060.01016.40
7.4.90.0110.00716.41
7.4.80.0110.00719.39
7.4.70.0040.01416.51
7.4.60.0080.00816.37
7.4.50.0030.00516.52
7.4.40.0070.01316.26
7.4.30.0080.00816.36
7.4.00.0070.00715.20
7.3.330.0060.00013.20
7.3.320.0050.00013.20
7.3.310.0030.00316.26
7.3.300.0000.00716.23
7.3.290.0080.00716.25
7.3.280.0100.01016.21
7.3.270.0090.00917.40
7.3.260.0140.00316.36
7.3.250.0070.01016.46
7.3.240.0080.01116.44
7.3.230.0120.00816.39
7.3.210.0100.00916.46
7.3.200.0080.01119.39
7.3.190.0140.00716.37
7.3.180.0120.00316.28
7.3.170.0150.00616.27
7.3.160.0160.00316.55
7.2.330.0080.00916.37
7.2.320.0040.01416.57
7.2.310.0100.00716.23
7.2.300.0100.01316.48
7.2.290.0100.00716.59
7.2.60.0070.00716.90
7.1.200.0060.00615.57
7.1.70.0110.00416.73
7.1.60.0070.01819.11
7.1.50.0070.01316.80
7.1.00.0030.07722.51
7.0.200.0000.00716.57
7.0.140.0030.07322.09
7.0.60.0070.08320.06
7.0.50.0100.07717.86
7.0.40.0070.08719.96
7.0.30.0500.07020.23
7.0.20.0230.04720.10
7.0.10.0070.08020.15
7.0.00.0000.07020.05
5.6.280.0000.07720.82
5.6.210.0130.07720.72
5.6.200.0030.07318.17
5.6.190.0070.06320.55
5.6.180.0370.06720.48
5.6.170.0300.07020.52
5.6.160.0030.08720.48
5.6.150.0000.04718.18
5.6.140.0070.04318.18
5.6.130.0070.04018.28
5.6.120.0030.08721.00
5.6.110.0030.09020.98
5.6.100.0070.05020.99
5.6.90.0170.03020.97
5.6.80.0130.07720.39
5.6.70.4330.03720.36
5.5.350.0100.04020.43
5.5.340.0030.07018.08
5.5.330.0130.08020.23
5.5.320.0230.07720.32
5.5.310.0270.04020.40
5.5.300.0100.07317.99
5.5.290.0030.05318.02
5.5.280.0070.03720.89
5.5.270.0070.05020.89
5.5.260.0130.06720.79
5.5.250.0030.08320.66
5.5.240.0200.02720.23
5.4.450.0900.05719.55
5.4.440.0330.08019.43
5.4.430.0630.05719.33
5.4.420.0670.00019.32
5.4.410.0830.00019.32
5.4.400.0630.00019.08
5.4.390.0870.00019.12
5.4.380.0630.00019.11
5.4.370.0630.00019.12
5.4.360.0830.00019.13
5.4.350.0730.00019.04
5.4.340.0050.03712.02
5.4.320.0080.03812.50
5.4.310.0050.04012.50
5.4.300.0050.03912.50
5.4.290.0080.03712.50
5.4.280.0070.03312.39
5.4.270.0060.03812.39
5.4.260.0050.04612.40
5.4.250.0070.03812.39
5.4.240.0060.03812.39
5.4.230.0030.04512.39
5.4.220.0160.07012.39
5.4.210.0140.04212.39
5.4.200.0070.04112.39
5.4.190.0140.06612.38
5.4.180.0060.03712.38
5.4.170.0060.07012.39
5.4.160.0050.05412.39
5.4.150.0170.06512.39
5.4.140.0080.05212.07
5.4.130.0090.04912.06
5.4.120.0070.05112.01
5.4.110.0040.04612.01
5.4.100.0080.04112.01
5.4.90.0080.04012.02
5.4.80.0060.04312.01
5.4.70.0080.03912.00
5.4.60.0050.04012.00
5.4.50.0080.04212.01
5.4.40.0030.04012.00
5.4.30.0060.03511.99
5.4.20.0090.03411.99
5.4.10.0050.03811.99
5.4.00.0080.04011.48
5.3.290.0050.04012.80
5.3.280.0040.04412.71
5.3.270.0100.03912.72
5.3.260.0100.04412.72
5.3.250.0060.04312.72
5.3.240.0130.04512.72
5.3.230.0070.03912.71
5.3.220.0070.04012.68
5.3.210.0080.04012.68
5.3.200.0050.04312.68
5.3.190.0080.03812.68
5.3.180.0050.03912.68
5.3.170.0050.03912.67
5.3.160.0050.03912.67
5.3.150.0080.03812.68
5.3.140.0060.03812.66
5.3.130.0080.03812.65
5.3.120.0040.04312.65
5.3.110.0100.04112.66
5.3.100.0060.04412.12
5.3.90.0070.03612.08
5.3.80.0060.04212.08
5.3.70.0060.04012.08
5.3.60.0100.03312.07
5.3.50.0070.03812.00
5.3.40.0090.06112.00
5.3.30.0040.04811.95
5.3.20.0050.03711.73
5.3.10.0030.03811.70
5.3.00.0050.03911.68
5.2.170.0040.0469.18
5.2.160.0080.0379.18
5.2.150.0040.0369.18
5.2.140.0030.0329.18
5.2.130.0060.0309.14
5.2.120.0050.0309.14
5.2.110.0060.0339.14
5.2.100.0080.0279.14
5.2.90.0060.0309.14
5.2.80.0040.0329.14
5.2.70.0030.0329.14
5.2.60.0030.0329.09
5.2.50.0040.0389.06
5.2.40.0050.0299.03
5.2.30.0080.0319.01
5.2.20.0050.0399.00
5.2.10.0050.0348.93
5.2.00.0070.0578.78
5.1.60.0040.0348.07
5.1.50.0110.0338.06
5.1.40.0090.0328.05
5.1.30.0090.0328.40
5.1.20.0070.0388.42
5.1.10.0080.0358.14
5.1.00.0040.0298.14
5.0.50.0030.0216.62
5.0.40.0030.0216.48
5.0.30.0030.0336.29
5.0.20.0030.0216.27
5.0.10.0040.0206.24
5.0.00.0040.0386.23
4.4.90.0060.0144.78
4.4.80.0020.0264.75
4.4.70.0040.0154.76
4.4.60.0030.0164.75
4.4.50.0010.0194.77
4.4.40.0030.0294.71
4.4.30.0040.0144.76
4.4.20.0020.0194.84
4.4.10.0060.0134.85
4.4.00.0060.0284.76
4.3.110.0020.0234.67
4.3.100.0070.0134.67
4.3.90.0080.0244.63
4.3.80.0060.0394.58
4.3.70.0020.0194.63
4.3.60.0050.0134.63
4.3.50.0020.0164.63
4.3.40.0030.0264.54
4.3.30.0010.0183.28
4.3.20.0030.0173.26
4.3.10.0020.0193.22
4.3.00.0070.0236.86

preferences:
33.35 ms | 400 KiB | 5 Q