3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Bobbable { public function bob(); } trait Bobber { public function bob() { echo "Bobbity"; } } class Bibble implements Bobbable { use Bobber { bob as bib; } } $b = new Bibble; $b->bob(); $b->bib();

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.120.0140.00522.61
8.4.110.0090.00922.59
8.4.100.0120.00817.68
8.4.90.0130.00617.84
8.4.80.0060.00317.76
8.4.70.0080.00718.14
8.4.60.0160.00518.70
8.4.50.0100.01020.14
8.4.40.0130.00019.49
8.4.30.0060.00317.63
8.4.20.0030.00719.28
8.4.10.0060.00319.61
8.3.250.0140.00518.76
8.3.240.0080.01016.59
8.3.230.0040.00616.61
8.3.220.0090.01016.48
8.3.210.0160.00418.32
8.3.200.0040.00516.63
8.3.190.0040.00417.01
8.3.180.0040.00717.07
8.3.170.0000.00820.77
8.3.160.0120.00617.36
8.3.150.0110.00717.12
8.3.140.0070.01116.55
8.3.130.0120.00418.62
8.3.120.0040.00719.04
8.3.110.0120.00420.94
8.3.100.0030.00624.06
8.3.90.0040.00426.77
8.3.80.0030.00618.40
8.3.70.0100.00716.61
8.3.60.0140.00716.63
8.3.50.0060.00917.53
8.3.40.0110.00418.65
8.3.30.0110.00418.45
8.3.20.0040.00421.77
8.3.10.0000.00823.61
8.3.00.0080.00022.12
8.2.290.0140.00520.33
8.2.280.0110.00918.43
8.2.270.0110.00718.71
8.2.260.0070.01016.64
8.2.250.0000.00818.57
8.2.240.0040.00417.15
8.2.230.0190.00022.58
8.2.220.0060.00337.54
8.2.210.0040.00426.77
8.2.200.0040.00416.75
8.2.190.0110.00716.58
8.2.180.0110.01116.75
8.2.170.0080.00822.96
8.2.160.0070.00722.30
8.2.150.0000.00824.18
8.2.140.0070.00724.66
8.2.130.0080.00020.89
8.2.120.0040.00426.35
8.2.110.0060.00320.88
8.2.100.0080.00417.68
8.2.90.0030.00519.22
8.2.80.0000.00817.97
8.2.70.0030.00517.80
8.2.60.0030.00517.50
8.2.50.0050.00318.16
8.2.40.0040.00420.45
8.2.30.0050.00222.41
8.2.20.0000.00818.16
8.2.10.0040.00417.96
8.2.00.0040.00417.94
8.1.330.0110.00716.70
8.1.320.0120.00716.22
8.1.310.0080.00016.87
8.1.300.0060.00318.43
8.1.290.0000.00930.84
8.1.280.0110.01125.92
8.1.270.0030.00523.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.92
8.1.230.0080.00317.70
8.1.220.0150.00217.74
8.1.210.0030.00618.77
8.1.200.0040.00417.35
8.1.190.0040.00417.10
8.1.180.0000.00718.10
8.1.170.0040.00418.50
8.1.160.0030.00718.95
8.1.150.0040.00420.17
8.1.140.0000.00817.69
8.1.130.0040.00418.99
8.1.120.0070.00017.46
8.1.110.0040.00417.47
8.1.100.0000.00717.43
8.1.90.0070.00317.44
8.1.80.0030.00517.34
8.1.70.0000.00717.36
8.1.60.0050.00317.56
8.1.50.0000.00817.50
8.1.40.0030.00817.51
8.1.30.0080.00017.47
8.1.20.0070.00017.54
8.1.10.0060.00317.59
8.1.00.0030.00617.51
8.0.300.0070.00018.77
8.0.290.0080.00016.75
8.0.280.0030.00318.35
8.0.270.0000.00716.89
8.0.260.0060.00016.82
8.0.250.0050.00316.98
8.0.240.0000.00617.00
8.0.230.0030.00316.88
8.0.220.0000.00816.89
8.0.210.0000.00716.95
8.0.200.0030.00316.86
8.0.190.0040.00416.90
8.0.180.0000.00716.80
8.0.170.0030.00616.96
8.0.160.0050.00316.80
8.0.150.0060.00316.85
8.0.140.0040.00416.88
8.0.130.0000.00613.27
8.0.120.0000.00716.85
8.0.110.0050.00216.84
8.0.100.0040.00416.84
8.0.90.0000.00816.83
8.0.80.0060.00916.88
8.0.70.0000.00716.81
8.0.60.0040.00416.95
8.0.50.0000.00716.79
8.0.30.0160.00217.06
8.0.20.0120.00717.40
8.0.10.0040.00416.97
8.0.00.0090.00916.78
7.4.330.0060.00015.55
7.4.320.0060.00016.52
7.4.300.0030.00316.41
7.4.290.0000.00716.59
7.4.280.0040.00416.50
7.4.270.0000.00716.39
7.4.260.0030.00316.48
7.4.250.0000.00716.32
7.4.240.0030.00316.49
7.4.230.0070.00016.43
7.4.220.0000.00716.52
7.4.210.0090.00616.54
7.4.200.0040.00416.50
7.4.160.0120.00516.46
7.4.140.0080.01117.86
7.4.130.0040.01416.39
7.4.120.0080.01016.55
7.4.110.0150.00316.51
7.4.100.0090.00916.52
7.4.90.0110.00816.58
7.4.80.0000.01719.39
7.4.70.0110.00516.52
7.4.60.0070.01016.50
7.4.50.0040.00816.39
7.4.40.0070.01016.54
7.4.10.0080.01115.60
7.4.00.0080.01015.35
7.3.330.0000.00513.08
7.3.320.0000.00513.17
7.3.310.0030.00316.36
7.3.300.0040.00416.13
7.3.290.0100.00816.24
7.3.280.0090.00716.23
7.3.260.0100.00716.32
7.3.240.0080.01016.30
7.3.230.0060.01016.31
7.3.210.0080.01116.38
7.3.200.0060.01116.21
7.3.190.0080.00816.30
7.3.180.0090.00616.50
7.3.170.0110.00616.41
7.3.160.0090.00616.34
7.3.130.0090.00715.56
7.3.120.0070.01015.54
7.3.110.0060.01115.61
7.3.100.0070.01015.45
7.3.90.0050.00815.58
7.3.80.0070.00515.57
7.3.70.0040.00715.36
7.3.60.0090.00615.37
7.3.50.0060.00515.42
7.3.40.0030.00715.59
7.3.30.0110.00315.39
7.3.20.0070.00517.04
7.3.10.0010.01217.22
7.3.00.0070.00817.48
7.2.330.0130.00316.56
7.2.320.0070.01716.59
7.2.310.0090.01316.41
7.2.300.0120.00616.73
7.2.290.0110.00516.46
7.2.260.0080.01115.78
7.2.250.0080.01015.85
7.2.240.0050.01215.75
7.2.230.0080.00515.70
7.2.220.0120.00515.91
7.2.210.0040.00815.74
7.2.200.0070.00915.65
7.2.190.0050.00815.66
7.2.180.0060.00615.59
7.2.170.0090.00515.80
7.2.160.0020.01415.90
7.2.150.0070.00517.56
7.2.140.0030.00817.62
7.2.130.0100.00517.66
7.2.120.0100.00617.57
7.2.110.0110.00517.53
7.2.100.0030.00817.75
7.2.90.0050.00917.63
7.2.80.0020.01317.55
7.2.70.0060.00817.64
7.2.60.0050.01117.41
7.2.50.0070.00717.70
7.2.40.0050.01017.55
7.2.30.0070.00817.57
7.2.20.0100.00717.75
7.2.10.0090.01217.73
7.2.00.0070.00817.69
7.1.330.0060.00916.39
7.1.320.0070.00716.41
7.1.310.0080.00516.38
7.1.300.0050.00616.48
7.1.290.0040.00916.48
7.1.280.0080.00616.46
7.1.270.0030.01016.32
7.1.260.0080.00516.40
7.1.250.0070.01016.38
7.1.240.0020.00916.42
7.1.230.0050.01016.41
7.1.220.0110.00216.32
7.1.210.0040.01016.50
7.1.200.0050.00716.30
7.1.190.0080.00516.44
7.1.180.0080.00616.48
7.1.170.0060.00816.43
7.1.160.0020.01216.45
7.1.150.0090.00416.53
7.1.140.0100.00816.46
7.1.130.0070.00816.65
7.1.120.0080.00916.63
7.1.110.0080.01116.30
7.1.100.0080.00816.30
7.1.90.0080.00716.37
7.1.80.0080.00816.35
7.1.70.0060.00816.00
7.1.60.0160.00922.03
7.1.50.0120.00821.94
7.1.40.0100.01221.79
7.1.30.0170.01121.76
7.1.20.0230.00621.80
7.1.10.0080.00715.70
7.1.00.0060.00915.87
7.0.330.0020.01415.97
7.0.320.0000.01316.00
7.0.310.0040.00416.21
7.0.300.0080.00816.15
7.0.290.0000.01216.09
7.0.280.0070.00516.10
7.0.270.0020.01016.10
7.0.260.0100.00416.11
7.0.250.0030.01016.03
7.0.240.0050.00716.15
7.0.230.0060.00616.11
7.0.220.0050.00516.21
7.0.210.0000.01116.12
7.0.200.0050.00516.05
7.0.190.0110.00216.06
7.0.180.0110.00416.24
7.0.170.0050.00716.22
7.0.160.0090.00416.17
7.0.150.0050.00916.03
7.0.140.0080.00616.10
7.0.130.0060.00816.02
7.0.120.0070.00916.17
7.0.110.0090.00416.13
7.0.100.0050.00616.04
7.0.90.0030.01016.03
7.0.80.0050.00816.11
7.0.70.0040.01016.13
7.0.60.0080.00415.91
7.0.50.0060.00516.27
7.0.40.0040.00914.21
7.0.30.0050.00614.07
7.0.20.0080.00814.05
7.0.10.0060.00814.14
7.0.00.0070.00514.07
5.6.400.0050.00715.35
5.6.390.0030.00715.29
5.6.380.0050.00715.27
5.6.370.0040.00815.12
5.6.360.0100.00615.02
5.6.350.0090.00714.99
5.6.340.0050.00915.12
5.6.330.0030.01015.15
5.6.320.0090.00614.84
5.6.310.0090.00615.12
5.6.300.0090.00915.22
5.6.290.0100.00715.22
5.6.280.0070.00815.01
5.6.270.0060.00615.01
5.6.260.0060.00715.21
5.6.250.0090.00315.17
5.6.240.0030.01214.90
5.6.230.0050.00815.04
5.6.220.0060.00415.04
5.6.210.0000.01115.13
5.6.200.0050.00815.26
5.6.190.0080.00715.17
5.6.180.0050.01015.11
5.6.170.0090.00715.00
5.6.160.0030.00814.92
5.6.150.0080.00815.01
5.6.140.0050.00915.00
5.6.130.0060.00815.02
5.6.120.0000.01215.01
5.6.110.0040.00715.01
5.6.100.0040.00915.14
5.6.90.0030.01015.01
5.6.80.0000.01314.90
5.6.70.0060.00814.98
5.6.60.0010.01214.84
5.6.50.0080.00714.96
5.6.40.0090.00414.98
5.6.30.0080.00314.95
5.6.20.0040.00914.90
5.6.10.0030.00915.19
5.6.00.0060.00614.97

preferences:
32.38 ms | 403 KiB | 5 Q