3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A_inner_i { public function bar(); } class A_inner implements A_inner_i { public function bar() {} } abstract class B_inner_i { public abstract function bar(); } class B_inner extends B_inner_i { public function bar() { 1+1; } } class B { public function foo(B_inner_i $b) { $b->bar(); } }

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.0080.00818.28
8.3.50.0150.00816.52
8.3.40.0110.00418.63
8.3.30.0070.00718.59
8.3.20.0040.00418.52
8.3.10.0040.00418.51
8.3.00.0090.00019.15
8.2.180.0060.00916.50
8.2.170.0100.01022.96
8.2.160.0080.00818.84
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0040.00421.10
8.2.110.0000.01021.04
8.2.100.0070.00418.03
8.2.90.0040.00419.27
8.2.80.0050.00218.02
8.2.70.0030.00617.50
8.2.60.0000.00817.93
8.2.50.0050.00317.80
8.2.40.0000.00819.36
8.2.30.0060.00317.67
8.2.20.0030.00617.46
8.2.10.0040.00417.68
8.2.00.0030.00517.60
8.1.280.0060.01525.92
8.1.270.0070.00023.99
8.1.260.0050.00326.35
8.1.250.0050.00228.09
8.1.240.0030.00622.19
8.1.230.0080.00317.70
8.1.220.0000.00817.74
8.1.210.0000.01018.77
8.1.200.0040.00417.23
8.1.190.0000.00817.22
8.1.180.0060.00318.10
8.1.170.0080.00017.62
8.1.160.0000.00718.91
8.1.150.0040.00418.58
8.1.140.0050.00317.38
8.1.130.0050.00217.34
8.1.120.0070.00017.41
8.1.110.0050.00317.24
8.1.100.0070.00017.46
8.1.90.0070.00017.34
8.1.80.0020.00517.28
8.1.70.0000.00917.40
8.1.60.0060.00317.56
8.1.50.0080.00017.36
8.1.40.0070.00317.48
8.1.30.0030.00517.61
8.1.20.0040.00417.61
8.1.10.0060.00317.29
8.1.00.0040.00417.35
8.0.300.0000.00818.77
8.0.290.0040.00416.58
8.0.280.0000.00718.57
8.0.270.0000.00717.20
8.0.260.0030.00316.80
8.0.250.0040.00416.84
8.0.240.0030.00316.93
8.0.230.0000.00916.84
8.0.220.0000.00716.86
8.0.210.0040.00416.72
8.0.200.0000.00716.86
8.0.190.0030.00316.80
8.0.180.0040.00416.73
8.0.170.0060.00316.75
8.0.160.0070.00016.94
8.0.150.0000.00816.84
8.0.140.0050.00216.81
8.0.130.0000.00613.22
8.0.120.0030.00616.79
8.0.110.0030.00316.66
8.0.100.0040.00416.64
8.0.90.0000.00716.66
8.0.80.0060.00916.86
8.0.70.0050.00216.88
8.0.60.0050.00316.81
8.0.50.0050.00316.88
8.0.30.0150.00717.01
8.0.20.0120.00716.94
8.0.10.0000.00716.80
8.0.00.0060.01316.68
7.4.330.0020.00212.91
7.4.320.0070.00316.44
7.4.300.0000.00616.53
7.4.290.0070.00016.58
7.4.280.0040.00416.45
7.4.270.0000.00816.46
7.4.260.0060.00013.24
7.4.250.0060.00316.50
7.4.240.0000.00716.53
7.4.230.0000.00716.36
7.4.220.0090.00916.54
7.4.210.0130.00616.65
7.4.200.0070.00016.28
7.4.190.0040.00416.39
7.4.160.0090.00616.25
7.4.150.0110.00616.52
7.4.140.0090.00917.86
7.4.130.0100.00716.59
7.4.120.0150.00416.49
7.4.110.0070.01016.30
7.4.100.0110.00616.29
7.4.90.0080.00816.49
7.4.80.0130.01016.25
7.4.70.0080.00916.28
7.4.60.0070.01016.32
7.4.50.0050.00016.36
7.4.40.0090.00316.52
7.4.30.0100.00716.36
7.4.00.0100.00715.03
7.3.330.0000.00713.00
7.3.320.0020.00213.18
7.3.310.0070.00015.99
7.3.300.0050.00316.01
7.3.290.0090.00816.18
7.3.280.0150.00416.15
7.3.270.0000.01716.29
7.3.260.0060.01216.33
7.3.240.0060.00916.27
7.3.230.0060.01116.23
7.3.210.0040.01416.16
7.3.200.0100.00719.39
7.3.190.0110.00616.18
7.3.180.0040.01116.32
7.3.170.0130.00316.43
7.3.160.0060.00916.44
7.3.120.0060.01114.61
7.3.110.0030.01314.71
7.3.100.0030.00614.93
7.3.90.0030.00914.59
7.3.80.0000.01314.60
7.3.70.0030.01014.56
7.3.60.0040.01214.71
7.3.50.0090.00914.82
7.3.40.0070.00714.57
7.3.30.0080.00814.64
7.3.20.0040.01416.28
7.3.10.0040.01216.48
7.3.00.0030.00616.40
7.2.330.0140.00416.60
7.2.320.0110.00816.34
7.2.310.0090.01316.50
7.2.300.0120.00416.40
7.2.290.0140.00316.28
7.2.250.0040.01114.66
7.2.240.0100.01015.02
7.2.230.0060.00915.09
7.2.220.0040.00415.08
7.2.210.0000.01514.43
7.2.200.0030.01214.93
7.2.190.0030.01614.89
7.2.180.0070.01114.85
7.2.170.0090.00614.72
7.2.160.0060.01314.41
7.2.150.0070.01016.82
7.2.140.0090.00916.46
7.2.130.0070.01116.64
7.2.120.0000.01516.77
7.2.110.0030.00716.68
7.2.100.0000.01816.80
7.2.90.0100.00316.70
7.2.80.0000.01616.77
7.2.70.0000.01016.84
7.2.60.0070.01116.83
7.2.50.0080.00516.73
7.2.40.0040.01116.82
7.2.30.0000.01216.80
7.2.20.0000.01316.89
7.2.10.0060.00716.76
7.2.00.0070.00717.97
7.1.330.0070.01015.30
7.1.320.0040.01115.55
7.1.310.0030.01015.66
7.1.300.0040.00415.39
7.1.290.0030.01015.46
7.1.280.0040.00815.45
7.1.270.0100.00715.49
7.1.260.0030.00715.73
7.1.250.0120.00315.39
7.1.100.0060.00618.00
7.1.70.0000.00816.74
7.1.60.0000.01219.25
7.1.50.0070.01716.89
7.1.00.0030.03322.48
7.0.200.0090.00916.58
7.0.140.0070.07021.97
7.0.120.0000.07322.08
7.0.60.0000.08719.91
7.0.50.0030.04717.96
7.0.40.0100.03720.20
7.0.30.0330.07720.07
7.0.20.0200.08020.24
7.0.10.0230.07720.10
7.0.00.0200.07020.33
5.6.280.0000.07721.08
5.6.210.0100.08720.65
5.6.200.0100.05318.29
5.6.190.0070.07720.55
5.6.180.0170.05320.65
5.6.170.0370.05320.39
5.6.160.0070.04020.54
5.6.150.0030.05018.14
5.6.140.0030.04318.15
5.6.130.0070.07718.21
5.6.120.0000.04321.14
5.6.110.0100.08320.99
5.6.100.0170.07321.10
5.6.90.0100.08020.89
5.6.80.0170.04320.45
5.6.70.3430.04020.51
5.5.350.0230.07320.41
5.5.340.0100.08318.08
5.5.330.0030.06720.19
5.5.320.0230.05720.57
5.5.310.0330.05320.34
5.5.300.0030.08318.03
5.5.290.0030.05018.04
5.5.280.0170.06720.86
5.5.270.0170.07020.65
5.5.260.0100.04720.80
5.5.250.0030.04020.55
5.5.240.0070.07320.20
5.4.450.0270.07319.32
5.4.440.0370.05719.49
5.4.430.0200.05319.30
5.4.420.0200.04019.27
5.4.410.0070.04719.28
5.4.400.0300.06019.10
5.4.390.0200.04019.15
5.4.380.0170.04318.85
5.4.370.0300.03019.20
5.4.360.0170.05719.23
5.4.350.0130.03719.15
5.4.340.0200.04018.87
5.4.320.0270.07018.85
5.4.310.0270.04719.32
5.4.300.0230.05319.15
5.4.290.0200.04019.09
5.4.280.0270.07018.94
5.4.270.0270.07319.16
5.4.260.0330.06319.20
5.4.250.0300.07018.97
5.4.240.0300.06719.21
5.4.230.0200.05719.21
5.4.220.0270.07019.07
5.4.210.0200.07719.06
5.4.200.0230.06719.14
5.4.190.0270.04018.86
5.4.180.0400.06318.86
5.4.170.0230.07019.30
5.4.160.0200.06719.20
5.4.150.0200.04719.11
5.4.140.0230.07316.38
5.4.130.0200.06716.39
5.4.120.0230.07316.42
5.4.110.0170.05316.63
5.4.100.0200.05316.51
5.4.90.0170.04316.59
5.4.80.0370.05016.57
5.4.70.0200.07316.29
5.4.60.0070.05716.43
5.4.50.0230.07316.25
5.4.40.0370.05316.39
5.4.30.0200.06316.50
5.4.20.0300.03716.53
5.4.10.0200.07316.53
5.4.00.0200.04315.86
5.3.290.0200.08014.75
5.3.280.0230.07014.52
5.3.270.0230.07314.61
5.3.260.0200.06714.52
5.3.250.0230.05714.53
5.3.240.0230.06314.58
5.3.230.0230.07014.54
5.3.220.0200.06714.58
5.3.210.0270.04714.54
5.3.200.0270.06314.48
5.3.190.0330.06314.54
5.3.180.0230.03314.65
5.3.170.0170.06714.72
5.3.160.0200.04314.72
5.3.150.0200.07314.48
5.3.140.0370.04014.77
5.3.130.0330.06714.45
5.3.120.0200.08014.63
5.3.110.0270.03314.57
5.3.100.0300.05014.05
5.3.90.0200.07314.14
5.3.80.0230.06314.25
5.3.70.0200.07314.27
5.3.60.0230.04014.16
5.3.50.0300.06313.87
5.3.40.0070.04314.11
5.3.30.0300.06313.82
5.3.20.0270.07013.75
5.3.10.0200.07313.71
5.3.00.0200.05713.55
5.2.170.0230.03312.06
5.2.160.0070.06012.06
5.2.150.0270.03312.06
5.2.140.0200.06012.06
5.2.130.0230.05012.06
5.2.120.0170.04712.06
5.2.110.0230.03312.06
5.2.100.0130.04012.06
5.2.90.0230.02712.06
5.2.80.0100.05312.06
5.2.70.0230.06012.06
5.2.60.0200.06012.06
5.2.50.0200.06012.06
5.2.40.0200.05712.06
5.2.30.0330.02012.06
5.2.20.0100.03712.06
5.2.10.0100.06712.06
5.2.00.0170.04312.06
5.1.60.0130.03012.06
5.1.50.0070.05012.06
5.1.40.0170.04712.06
5.1.30.0100.06012.06
5.1.20.0170.03312.06
5.1.10.0270.04312.06
5.1.00.0170.04712.06
5.0.50.0100.03012.06
5.0.40.0100.02712.06
5.0.30.0030.06312.06
5.0.20.0170.02312.06
5.0.10.0130.03012.06
5.0.00.0070.05712.06
4.4.90.0100.02012.06
4.4.80.0000.03012.06
4.4.70.0070.03012.06
4.4.60.0100.03312.06
4.4.50.0100.03012.06
4.4.40.0030.03312.06
4.4.30.0030.02312.06
4.4.20.0070.03712.06
4.4.10.0100.03312.06
4.4.00.0030.04712.06
4.3.110.0070.03712.06
4.3.100.0070.03312.06
4.3.90.0100.03312.06
4.3.80.0070.04712.06
4.3.70.0070.03712.06
4.3.60.0070.03712.06
4.3.50.0030.03712.06
4.3.40.0100.03712.06
4.3.30.0030.03712.06
4.3.20.0030.03312.06
4.3.10.0030.03712.06
4.3.00.0070.03312.06

preferences:
38.05 ms | 401 KiB | 5 Q