3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait T1 { abstract public function test(); } trait T2 { abstract public function test(): int; } class C { use T1, T2; function test(): int {} } ?>

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.4.130.0120.00717.88
8.4.120.0110.00820.37
8.4.110.0100.00822.61
8.4.100.0130.00717.48
8.4.90.0140.00520.68
8.4.80.0050.00420.54
8.4.70.0110.00820.50
8.4.60.0130.00720.69
8.4.50.0100.01018.41
8.4.40.0120.00619.26
8.4.30.0130.00718.39
8.4.20.0120.00620.66
8.4.10.0170.00319.13
8.3.260.0060.01416.48
8.3.250.0120.00618.73
8.3.240.0130.00616.40
8.3.230.0120.00816.63
8.3.220.0120.00720.71
8.3.210.0100.00816.81
8.3.200.0060.00316.52
8.3.190.0050.00317.04
8.3.180.0100.00519.04
8.3.170.0180.00017.30
8.3.160.0130.00320.61
8.3.150.0150.00018.84
8.3.140.0080.00020.62
8.3.130.0070.00718.33
8.3.120.0090.00618.78
8.3.110.0030.00616.48
8.3.100.0000.00816.75
8.3.90.0040.00426.77
8.3.80.0060.00319.36
8.3.70.0100.01016.50
8.3.60.0140.00718.31
8.3.50.0180.01323.77
8.3.40.0060.01218.54
8.3.30.0070.00718.62
8.3.20.0080.00020.67
8.3.10.0080.00022.13
8.3.00.0030.00621.60
8.2.290.0110.00820.24
8.2.280.0100.00918.18
8.2.270.0150.00418.26
8.2.260.0070.01117.16
8.2.250.0000.00916.58
8.2.240.0050.00317.15
8.2.230.0080.00320.94
8.2.220.0000.00824.06
8.2.210.0080.00626.77
8.2.200.0060.00318.88
8.2.190.0110.01116.58
8.2.180.0110.00718.04
8.2.170.0110.00722.96
8.2.160.0120.00322.07
8.2.150.0070.00324.18
8.2.140.0060.00324.66
8.2.130.0080.00026.16
8.2.120.0050.00326.16
8.2.110.0060.00321.05
8.2.100.0030.00917.78
8.2.90.0090.00017.75
8.2.80.0040.00420.60
8.2.70.0050.00317.63
8.2.60.0080.00017.46
8.2.50.0000.00818.05
8.2.40.0040.00418.12
8.2.30.0030.00317.85
8.2.20.0040.00417.94
8.2.10.0040.00419.26
8.2.00.0000.00719.04
8.1.330.0110.00822.05
8.1.320.0110.00817.99
8.1.310.0080.00016.57
8.1.300.0060.00317.69
8.1.290.0060.00330.84
8.1.280.0160.00025.92
8.1.270.0150.00423.79
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00822.46
8.1.230.0120.00020.88
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0080.00017.22
8.1.180.0030.00518.10
8.1.170.0050.00317.62
8.1.160.0080.00018.80
8.1.150.0050.00219.01
8.1.140.0040.00422.39
8.1.130.0060.00020.32
8.1.120.0000.00717.29
8.1.110.0050.00217.36
8.1.100.0000.00817.30
8.1.90.0070.00017.39
8.1.80.0000.00717.42
8.1.70.0030.00317.27
8.1.60.0070.00017.50
8.1.50.0080.00017.29
8.1.40.0030.00517.33
8.1.30.0040.00417.57
8.1.20.0000.00717.53
8.1.10.0000.00717.35
8.1.00.0000.00817.20
8.0.300.0000.00720.03
8.0.290.0060.00316.63
8.0.280.0000.00718.43
8.0.270.0070.00017.85
8.0.260.0060.00019.99
8.0.250.0000.00716.89
8.0.240.0030.00316.85
8.0.230.0000.00716.74
8.0.220.0100.00016.72
8.0.210.0000.00716.78
8.0.200.0000.00716.89
8.0.190.0000.00716.88
8.0.180.0040.00416.84
8.0.170.0040.00416.81
8.0.160.0050.00316.89
8.0.150.0000.00716.64
8.0.140.0070.00616.67
8.0.130.0000.00513.18
8.0.120.0000.00816.79
8.0.110.0050.00316.86
8.0.100.0040.00416.72
8.0.90.0030.00616.84
8.0.80.0100.00816.75
8.0.70.0000.00716.79
8.0.60.0050.00216.70
8.0.50.0000.00716.69
8.0.30.0090.00916.95
8.0.20.0120.00616.91
8.0.10.0030.00617.01
8.0.00.0090.00916.71
7.4.330.0060.00016.70
7.4.320.0030.00316.43
7.4.300.0070.00016.37
7.4.290.0020.00516.46
7.4.280.0090.00416.35
7.4.270.0030.00316.53
7.4.260.0030.00313.20
7.4.250.0000.00716.39
7.4.240.0000.00716.53
7.4.230.0000.00716.59
7.4.220.0040.00316.50
7.4.210.0030.01316.46
7.4.200.0040.00416.34
7.4.140.0130.00317.86
7.4.130.0090.00916.57
7.4.120.0140.00916.45
7.4.110.0100.00716.14
7.4.100.0060.01316.57
7.4.90.0120.00916.27
7.4.80.0070.01419.39
7.4.70.0130.00316.50
7.4.60.0130.00316.36
7.4.50.0060.01216.49
7.4.40.0120.00616.42
7.4.10.0130.00316.40
7.4.00.0030.01216.26
7.3.330.0060.00316.26
7.3.320.0050.00013.12
7.3.310.0030.00316.22
7.3.300.0030.00316.11
7.3.290.0100.00716.27
7.3.260.0150.00616.37
7.3.240.0090.00716.35
7.3.230.0080.00816.24
7.3.210.0130.00316.29
7.3.200.0000.01616.23
7.3.190.0140.00716.26
7.3.180.0060.01116.37
7.3.170.0080.00816.35
7.3.160.0130.00316.35
7.3.130.0080.00816.41
7.3.120.0140.00316.46
7.3.110.0140.00016.05
7.3.100.0030.01416.25
7.3.90.0120.01016.36
7.3.80.0100.00716.23
7.3.70.0070.01016.11
7.3.60.0050.01216.26
7.3.50.0080.00816.25
7.3.40.0100.01016.35
7.3.30.0110.01116.38
7.3.20.0070.01116.43
7.3.10.0040.01116.31
7.3.00.0030.01416.23
7.2.330.0140.00416.31
7.2.320.0150.00316.50
7.2.310.0110.01116.49
7.2.300.0110.00716.57
7.2.290.0100.00716.54
7.2.260.0090.00616.38
7.2.250.0090.00816.44
7.2.240.0030.01216.25
7.2.230.0040.01116.29
7.2.220.0050.01416.57
7.2.210.0160.00016.38
7.2.200.0070.01016.33
7.2.190.0090.01216.12
7.2.180.0090.00916.46
7.2.170.0070.01016.27
7.2.160.0110.01116.20
7.2.150.0140.00416.38
7.2.140.0070.01016.43
7.2.130.0120.00616.39
7.2.120.0110.00616.32
7.2.110.0170.01016.38
7.2.100.0070.01016.34
7.2.90.0390.01516.31
7.2.80.0070.01016.54
7.2.70.0210.00316.37
7.2.60.0140.00316.63
7.2.50.0110.00616.45
7.2.40.0100.00516.46
7.2.30.0100.01316.63
7.2.20.0090.01216.36
7.2.10.0130.00616.24
7.2.00.0100.01016.38

preferences:
154.7 ms | 403 KiB | 5 Q