3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait T { abstract function foo($bar); } class R { use T; function foo($bar, $baz) {} }

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.10.0050.00517.78
8.3.140.0060.00316.86
8.3.130.0080.00018.59
8.3.120.0060.00318.93
8.3.110.0060.00320.94
8.3.100.0080.00018.61
8.3.90.0000.00726.77
8.3.80.0030.00616.50
8.3.70.0120.00618.29
8.3.60.0160.00618.55
8.3.50.0150.00418.07
8.3.40.0150.00018.71
8.3.30.0040.01118.63
8.3.20.0040.00418.89
8.3.10.0040.00421.72
8.3.00.0040.00423.64
8.2.250.0050.00318.26
8.2.240.0050.00517.30
8.2.230.0080.00022.58
8.2.220.0000.00824.06
8.2.210.0130.00626.77
8.2.200.0030.00616.63
8.2.190.0070.01116.58
8.2.180.0110.00725.92
8.2.170.0070.00722.96
8.2.160.0100.00318.99
8.2.150.0060.00324.18
8.2.140.0050.00224.66
8.2.130.0020.00526.16
8.2.120.0070.00021.05
8.2.110.0150.00022.20
8.2.100.0090.00317.77
8.2.90.0080.00317.75
8.2.80.0060.00318.66
8.2.70.0000.00917.80
8.2.60.0060.00318.03
8.2.50.0080.00018.10
8.2.40.0030.00619.22
8.2.30.0000.00820.48
8.2.20.0040.00417.89
8.2.10.0070.00018.04
8.2.00.0070.00019.36
8.1.300.0090.00017.56
8.1.290.0060.00330.84
8.1.280.0100.01025.92
8.1.270.0140.00023.99
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0080.00022.05
8.1.230.0060.00617.70
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0030.00617.41
8.1.180.0050.00318.10
8.1.170.0080.00018.64
8.1.160.0040.00418.73
8.1.150.0000.00718.88
8.1.140.0070.00018.94
8.1.130.0050.00217.34
8.1.120.0040.00417.47
8.1.110.0050.00317.35
8.1.100.0040.00417.41
8.1.90.0000.00817.34
8.1.80.0040.00417.34
8.1.70.0030.00317.44
8.1.60.0030.00517.55
8.1.50.0030.00517.44
8.1.40.0050.00317.34
8.1.30.0050.00217.46
8.1.20.0050.00217.56
8.1.10.0000.00717.27
8.1.00.0070.00017.18
8.0.300.0070.00018.77
8.0.290.0090.00016.63
8.0.280.0070.00018.29
8.0.270.0030.00317.12
8.0.260.0000.00816.69
8.0.250.0080.00016.93
8.0.240.0040.00416.83
8.0.230.0060.00317.01
8.0.220.0030.00316.86
8.0.210.0030.00316.89
8.0.200.0080.00016.79
8.0.190.0040.00416.88
8.0.180.0040.00416.77
8.0.170.0050.00416.95
8.0.160.0040.00416.96
8.0.150.0070.00016.84
8.0.140.0000.00716.77
8.0.130.0030.00313.32
8.0.120.0040.00416.75
8.0.110.0000.00716.84
8.0.100.0030.00316.71
8.0.90.0000.00716.93
8.0.80.0050.01516.87
8.0.70.0070.00016.71
8.0.60.0040.00416.80
8.0.50.0040.00416.86
8.0.30.0070.01216.89
8.0.20.0130.00717.40
8.0.10.0000.00716.94
8.0.00.0090.01216.64
7.4.330.0000.00615.55
7.4.320.0060.00016.54
7.4.300.0060.00016.35
7.4.290.0030.00316.52
7.4.280.0000.00716.52
7.4.270.0000.00716.39
7.4.260.0000.01016.51
7.4.250.0070.00016.42
7.4.240.0000.00716.34
7.4.230.0030.00316.55
7.4.220.0040.00416.43
7.4.210.0050.01216.48
7.4.200.0000.00716.63
7.4.160.0050.01016.48
7.4.140.0100.01117.86
7.4.130.0140.00716.47
7.4.120.0070.01116.50
7.4.110.0120.00616.40
7.4.100.0080.01216.35
7.4.90.0120.00716.30
7.4.80.0080.01317.33
7.4.70.0110.00816.31
7.4.60.0110.00816.34
7.4.50.0130.00616.46
7.4.40.0090.00916.45
7.4.30.0100.01016.49
7.4.20.0040.01316.51
7.4.10.0050.01415.79
7.4.00.0090.01015.68
7.3.330.0050.00013.01
7.3.320.0000.00613.01
7.3.310.0040.00416.23
7.3.300.0000.00716.05
7.3.290.0030.00316.18
7.3.280.0050.01116.20
7.3.260.0080.01016.34
7.3.240.0110.00716.22
7.3.230.0090.00916.24
7.3.220.0070.01216.15
7.3.210.0070.01116.05
7.3.200.0080.01316.48
7.3.190.0080.01016.37
7.3.180.0120.00716.31
7.3.170.0050.01316.26
7.3.160.0100.00716.26
7.3.150.0130.00616.22
7.3.140.0080.01316.27
7.3.130.0110.00715.77
7.3.120.0120.00915.65
7.3.110.0090.01015.88
7.3.100.0110.00715.65
7.3.90.0090.00915.71
7.3.80.0110.00515.78
7.3.70.0090.00815.73
7.3.60.0060.00915.77
7.3.50.0110.00815.79
7.3.40.0060.00815.70
7.3.30.0100.00415.64
7.3.20.0070.00916.30
7.3.10.0060.01016.27
7.3.00.0050.01016.39
7.2.340.0050.01216.46
7.2.330.0050.01416.40
7.2.320.0110.01016.41
7.2.310.0070.01116.39
7.2.300.0080.01016.52
7.2.290.0100.00916.33
7.2.280.0080.00916.52
7.2.270.0060.01316.42
7.2.260.0100.00815.82
7.2.250.0080.01215.96
7.2.240.0110.00916.06
7.2.230.0080.00815.89
7.2.220.0040.01315.83
7.2.210.0090.01015.81
7.2.200.0080.00815.91
7.2.190.0090.00716.01
7.2.180.0110.00815.81
7.2.170.0100.00915.97
7.2.160.0110.00615.84
7.2.150.0140.01216.49
7.2.140.0090.00916.47
7.2.130.0080.00816.67
7.2.120.0100.00916.53
7.2.110.0090.00716.65
7.2.100.0070.00816.52
7.2.90.0130.01416.57
7.2.80.0390.01216.21
7.2.70.0330.00716.16
7.2.60.0390.00916.24
7.2.50.0290.00816.28
7.2.40.0270.01016.16
7.2.30.0280.01016.37
7.2.20.0280.00916.20
7.2.10.0260.01116.18
7.2.00.0280.00816.22
7.1.330.0200.00715.50
7.1.320.0210.00515.52
7.1.310.0190.00615.61
7.1.300.0180.00915.54
7.1.290.0170.01115.55
7.1.280.0150.01015.52
7.1.270.0150.00915.48
7.1.260.0170.01015.57
7.1.250.0160.00815.54
7.1.240.0130.01215.46
7.1.230.0230.00915.45
7.1.220.0170.00815.45
7.1.210.0160.00915.51
7.1.200.0150.00815.44
7.1.190.0440.00815.08
7.1.180.0460.00714.89
7.1.170.0400.00715.08
7.1.160.0390.00914.91
7.1.150.0410.00714.97
7.1.140.0390.00515.13
7.1.130.0390.00614.86
7.1.120.0440.00514.86
7.1.110.0390.00515.00
7.1.100.0350.01114.96
7.1.90.0420.00814.94
7.1.80.0450.00614.91
7.1.70.0530.00914.82
7.1.60.0460.01019.43
7.1.50.0750.01219.49
7.1.40.0760.01119.53
7.1.30.0710.00619.43
7.1.20.0650.01119.38
7.1.10.0520.01115.02
7.1.00.0400.00915.00
7.0.330.0140.01215.06
7.0.320.0170.00615.07
7.0.310.0160.00715.18
7.0.300.0140.01015.20
7.0.290.0140.01015.11
7.0.280.0150.00915.11
7.0.270.0310.00315.15
7.0.260.0210.00415.27
7.0.250.0170.00815.24
7.0.240.0260.00615.06
7.0.230.0200.00715.12
7.0.220.0130.01015.21
7.0.210.0150.00815.12
7.0.200.0140.00715.16
7.0.190.0140.01015.18
7.0.180.0140.01015.02
7.0.170.0130.01015.24
7.0.160.0150.00815.11
7.0.150.0140.00815.13
7.0.140.0140.00715.18
7.0.130.0150.01015.15
7.0.120.0310.00915.13
7.0.110.0180.01015.21
7.0.100.0200.00715.17
7.0.90.0140.01115.25
7.0.80.0140.01015.17
7.0.70.0150.00815.17
7.0.60.0210.00415.05
7.0.50.0150.00915.15
7.0.40.0170.00714.44
7.0.30.0170.00914.43
7.0.20.0110.01114.55
7.0.10.0210.01614.57
7.0.00.0340.01314.55
5.6.400.0160.01015.41
5.6.390.0150.01115.21
5.6.380.0150.00815.06
5.6.370.0180.00615.27
5.6.360.0160.00615.22
5.6.350.0170.00815.39
5.6.340.0130.01415.34
5.6.330.0200.00815.34
5.6.320.0140.01215.29
5.6.310.0140.01115.04
5.6.300.0130.01015.20
5.6.290.0170.00815.25
5.6.280.0200.00715.14
5.6.270.0160.00815.16
5.6.260.0140.01615.12
5.6.250.0170.00715.27
5.6.240.0160.01115.15
5.6.230.0140.01315.15
5.6.220.0170.00915.18
5.6.210.0170.01015.21
5.6.200.0130.01315.23
5.6.190.0160.01115.20
5.6.180.0150.01115.14
5.6.170.0150.01015.14
5.6.160.0270.01215.27
5.6.150.0230.01815.18
5.6.140.0220.01015.08
5.6.130.0150.01915.20
5.6.120.0190.00515.29
5.6.110.0160.00815.09
5.6.100.0150.00715.22
5.6.90.0170.01215.21
5.6.80.0120.01215.17
5.6.70.0140.00815.20
5.6.60.0150.00915.14
5.6.50.0130.01015.23
5.6.40.0200.00815.15
5.6.30.0090.01615.13
5.6.20.0150.00915.12
5.6.10.0150.00815.03
5.6.00.0090.01415.23

preferences:
15.9 ms | 403 KiB | 5 Q