3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait T { public function ttt() {} } class F { use T; public function fff() {} } $f = new F(); var_dump(class_uses($f)[0]);

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.0150.00618.38
8.3.50.0100.00821.14
8.3.40.0120.00618.83
8.3.30.0100.01318.85
8.3.20.0050.00318.65
8.3.10.0000.00820.54
8.3.00.0060.00319.26
8.2.180.0040.01116.50
8.2.170.0110.00422.96
8.2.160.0140.00322.08
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0000.00726.16
8.2.120.0080.00019.85
8.2.110.0060.00321.10
8.2.100.0080.00417.97
8.2.90.0080.00019.23
8.2.80.0080.00017.97
8.2.70.0060.00317.75
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0040.00418.16
8.2.30.0100.00018.18
8.2.20.0050.00317.64
8.2.10.0000.00817.78
8.2.00.0070.00017.79
8.1.280.0110.01125.92
8.1.270.0070.00023.99
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00322.60
8.1.230.0060.00620.93
8.1.220.0050.00318.77
8.1.210.0060.00318.97
8.1.200.0060.00317.35
8.1.190.0040.00417.53
8.1.180.0040.00418.10
8.1.170.0060.00318.71
8.1.160.0050.00218.99
8.1.150.0000.00718.68
8.1.140.0070.00017.44
8.1.130.0000.00817.88
8.1.120.0040.00417.42
8.1.110.0050.00317.48
8.1.100.0000.00717.37
8.1.90.0040.00417.52
8.1.80.0070.00017.43
8.1.70.0000.00717.34
8.1.60.0050.00317.45
8.1.50.0080.00017.46
8.1.40.0030.00517.55
8.1.30.0070.00017.65
8.1.20.0000.00817.60
8.1.10.0040.00417.41
8.1.00.0000.00817.46
8.0.300.0070.00019.98
8.0.290.0000.00816.75
8.0.280.0030.00318.43
8.0.270.0030.00317.23
8.0.260.0000.00717.00
8.0.250.0000.00817.01
8.0.240.0030.00617.00
8.0.230.0040.00416.86
8.0.220.0090.00016.85
8.0.210.0070.00016.86
8.0.200.0000.00816.98
8.0.190.0020.00517.04
8.0.180.0040.00416.90
8.0.170.0090.00416.66
8.0.160.0030.00516.93
8.0.150.0030.00616.93
8.0.140.0030.00516.86
8.0.130.0000.00613.29
8.0.120.0050.00316.84
8.0.110.0000.00716.92
8.0.100.0000.00716.91
8.0.90.0050.00216.82
8.0.80.0120.00316.99
8.0.70.0030.00316.86
8.0.60.0000.00716.91
8.0.50.0040.00416.86
8.0.30.0100.00817.17
8.0.20.0120.00717.40
8.0.10.0040.00417.04
8.0.00.0090.01116.86
7.4.330.0020.00214.83
7.4.320.0070.00016.51
7.4.300.0030.00316.60
7.4.290.0070.00016.64
7.4.280.0040.00416.61
7.4.270.0000.00716.48
7.4.260.0000.00613.16
7.4.250.0000.00916.50
7.4.240.0000.00716.42
7.4.230.0030.00516.33
7.4.220.0100.01316.41
7.4.210.0060.01216.56
7.4.200.0070.00016.48
7.4.190.0000.00716.35
7.4.160.0060.00916.54
7.4.150.0070.01017.40
7.4.140.0100.00717.14
7.4.130.0050.01116.48
7.4.120.0080.01216.50
7.4.110.0070.01016.51
7.4.100.0140.00916.37
7.4.90.0100.00716.59
7.4.80.0100.00619.03
7.4.70.0130.01016.48
7.4.60.0030.01316.56
7.4.50.0000.00416.28
7.4.40.0110.00422.27
7.4.30.0090.00616.65
7.4.00.0040.01114.99
7.3.330.0020.00213.30
7.3.320.0030.00313.12
7.3.310.0040.00416.11
7.3.300.0030.00316.30
7.3.290.0120.00316.29
7.3.280.0020.01416.30
7.3.270.0110.00617.40
7.3.260.0110.00918.24
7.3.250.0090.01516.39
7.3.240.0060.00916.41
7.3.230.0100.00616.39
7.3.210.0070.01016.38
7.3.200.0080.00919.39
7.3.190.0110.00616.42
7.3.180.0030.01416.60
7.3.170.0030.01816.33
7.3.160.0100.00616.52
7.3.120.0070.00714.80
7.3.10.0000.01016.57
7.3.00.0070.01016.67
7.2.330.0060.01216.71
7.2.320.0040.01216.64
7.2.310.0150.00416.43
7.2.300.0100.00616.78
7.2.290.0100.00716.64
7.2.130.0030.00916.89
7.2.120.0090.00616.96
7.2.110.0130.00016.48
7.2.100.0070.00716.76
7.2.90.0030.01317.08
7.2.80.0000.01016.80
7.2.70.0000.01516.85
7.2.60.0050.00916.93
7.2.50.0090.00616.91
7.2.40.0040.00816.54
7.2.30.0080.00316.67
7.2.20.0100.00316.59
7.2.10.0090.00016.77
7.2.00.0080.00616.95
7.1.250.0090.00315.70
7.1.200.0000.01215.84
7.1.70.0000.00716.87
7.1.60.0180.00719.40
7.1.50.0040.00716.96
7.1.00.0000.06322.34
7.0.200.0210.00316.74
7.0.140.0130.06321.93
7.0.60.0070.09019.93
7.0.50.0030.06017.87
7.0.40.0170.07320.09
7.0.30.0070.08020.16
7.0.20.0070.08720.18
7.0.10.0170.06020.02
7.0.00.0100.06020.19
5.6.210.0030.06720.53
5.6.200.0070.07718.29
5.6.190.0200.07020.34
5.6.180.0270.06720.33
5.6.170.0030.05020.57
5.6.160.0100.04720.60
5.6.150.0100.07020.40
5.6.140.0070.06320.52
5.6.130.0030.06320.41
5.6.120.0070.04020.18
5.6.110.0070.04020.43
5.6.100.0070.08320.39
5.6.90.0070.08320.38
5.6.80.0100.08319.86
5.6.70.0170.07019.71
5.6.60.0070.04019.70
5.6.50.0070.08019.56
5.6.40.0070.08019.88
5.6.30.0030.04019.76
5.6.20.0070.03719.86
5.6.10.0070.04019.86
5.6.00.0030.04019.75
5.5.350.0300.08020.35
5.5.340.0030.08717.95
5.5.330.0030.08720.40
5.5.320.0130.07720.21
5.5.310.0030.08720.40
5.5.300.0070.08320.14
5.5.290.0070.08019.97
5.5.280.0000.04720.20
5.5.270.0130.07720.02
5.5.260.0000.05720.11
5.5.250.0170.07019.80
5.5.240.0130.07019.62
5.5.230.0030.05019.57
5.5.220.0000.07319.61
5.5.210.0170.03019.38
5.5.200.0100.05319.67
5.5.190.0100.04319.51
5.5.180.0000.04719.67
5.5.160.0000.04319.34
5.5.150.0030.04719.54
5.5.140.0070.03719.38
5.5.130.0000.04319.48
5.5.120.0100.03719.64
5.5.110.0070.03319.33
5.5.100.0100.05319.42
5.5.90.0030.05019.39
5.5.80.0000.04019.23
5.5.70.0070.03719.38
5.5.60.0000.05019.20
5.5.50.0030.05019.45
5.5.40.0030.03719.50
5.5.30.0000.04019.25
5.5.20.0030.04019.49
5.5.10.0000.04019.46
5.5.00.0030.04019.26
5.4.450.0100.08019.57
5.4.440.0100.05319.57
5.4.430.0000.05319.46
5.4.420.0070.07319.50
5.4.410.0070.05319.43
5.4.400.0100.07319.24
5.4.390.0070.07719.18
5.4.380.0030.04018.92
5.4.370.0070.07319.28
5.4.360.0070.05319.00
5.4.350.0100.06718.92
5.4.340.0070.03319.07
5.4.320.0030.04019.15
5.4.310.0070.03318.97
5.4.300.0070.03319.17
5.4.290.0070.03319.24
5.4.280.0100.03019.07
5.4.270.0000.04019.15
5.4.260.0000.04019.14
5.4.250.0030.03718.93
5.4.240.0030.03719.23
5.4.230.0030.03719.15
5.4.220.0000.04018.84
5.4.210.0030.03718.98
5.4.200.0100.03019.18
5.4.190.0030.03719.23
5.4.180.0000.04018.93
5.4.170.0070.03318.84
5.4.160.0030.03719.13
5.4.150.0000.04019.05
5.4.140.0000.04716.26
5.4.130.0000.03716.32
5.4.120.0000.04016.31
5.4.110.0000.03716.29
5.4.100.0000.04316.39
5.4.90.0100.05716.43
5.4.80.0100.07316.38
5.4.70.0000.04716.65
5.4.60.0200.06016.38
5.4.50.0100.03316.38
5.4.40.0070.06716.27
5.4.30.0030.06316.36
5.4.20.0030.05016.36
5.4.10.0030.04316.27
5.4.00.0000.07715.75
5.3.290.0030.03714.56
5.3.280.0070.03314.56
5.3.270.0070.03314.43
5.3.260.0000.04014.52
5.3.250.0070.03714.53
5.3.240.0030.03714.56
5.3.230.0100.03014.53
5.3.220.0070.03314.36
5.3.210.0070.03314.66
5.3.200.0030.03714.50
5.3.190.0030.04014.36
5.3.180.0000.05014.46
5.3.170.0100.05314.54
5.3.160.0130.06714.49
5.3.150.0000.04314.44
5.3.140.0130.04714.35
5.3.130.0070.04314.47
5.3.120.0170.06714.49
5.3.110.0070.03714.49
5.3.100.0030.05313.96
5.3.90.0100.07313.86
5.3.80.0070.07713.95
5.3.70.0070.07013.94
5.3.60.0030.06313.94
5.3.50.0070.07713.87
5.3.40.0030.06013.73
5.3.30.0100.03313.87
5.3.20.0100.03013.64
5.3.10.0100.05313.59
5.3.00.0000.04013.44
5.2.170.0070.04011.09
5.2.160.0130.03011.08
5.2.150.0070.05011.12
5.2.140.0070.06010.99
5.2.130.0000.03011.08
5.2.120.0030.03711.26
5.2.110.0030.06710.99
5.2.100.0000.07011.03
5.2.90.0000.05310.96
5.2.80.0070.05011.10
5.2.70.0030.04310.91
5.2.60.0100.03711.12
5.2.50.0100.05710.94
5.2.40.0070.06011.14
5.2.30.0130.05310.83
5.2.20.0000.03710.88
5.2.10.0070.04710.87
5.2.00.0100.05710.70
5.1.60.0030.0439.96
5.1.50.0000.05710.03
5.1.40.0030.05310.02
5.1.30.0030.05710.32
5.1.20.0100.05310.35
5.1.10.0000.04010.02
5.1.00.0100.0509.97
5.0.50.0000.0538.39
5.0.40.0000.0438.37
5.0.30.0000.0508.17
5.0.20.0000.0408.20
5.0.10.0030.0408.07
5.0.00.0070.0608.12
4.4.90.0000.0276.66
4.4.80.0070.0236.66
4.4.70.0000.0236.66
4.4.60.0030.0176.66
4.4.50.0000.0206.66
4.4.40.0030.0536.66
4.4.30.0000.0276.66
4.4.20.0030.0376.66
4.4.10.0000.0236.66
4.4.00.0000.0376.66
4.3.110.0070.0176.66
4.3.100.0030.0336.66
4.3.90.0000.0276.66
4.3.80.0000.0506.66
4.3.70.0070.0306.66
4.3.60.0070.0376.66
4.3.50.0030.0376.66
4.3.40.0100.0436.66
4.3.30.0030.0376.66
4.3.20.0030.0336.66
4.3.10.0070.0276.66
4.3.00.0000.0376.66

preferences:
41.8 ms | 401 KiB | 5 Q