3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** @see https://bugs.php.net/bug.php?id=35057 */ interface A { public function foo($id); } abstract class B { abstract public function foo($id); } class C extends B { public function foo($id) { echo "foo\n"; } } class D extends C implements A {} var_dump(new D);

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.70.0100.00716.58
8.3.60.0140.00718.55
8.3.50.0110.00521.02
8.3.40.0000.01518.84
8.3.30.0140.00020.34
8.3.20.0020.00520.21
8.3.10.0040.00421.80
8.3.00.0000.00822.40
8.2.180.0070.01116.32
8.2.170.0070.01022.96
8.2.160.0100.01022.26
8.2.150.0040.00424.18
8.2.140.0020.00524.66
8.2.130.0110.00726.16
8.2.120.0060.00320.73
8.2.110.0100.00721.04
8.2.100.0040.00817.72
8.2.90.0040.00419.13
8.2.80.0000.00917.97
8.2.70.0000.00917.38
8.2.60.0030.00517.92
8.2.50.0040.00418.07
8.2.40.0030.01018.03
8.2.30.0000.00719.44
8.2.20.0040.00417.65
8.2.10.0080.00017.68
8.2.00.0060.00317.70
8.1.280.0070.01025.92
8.1.270.0040.00423.99
8.1.260.0000.00826.35
8.1.250.0060.00328.09
8.1.240.0040.00723.97
8.1.230.0080.00417.42
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0000.00817.30
8.1.180.0040.00419.01
8.1.170.0000.00918.50
8.1.160.0060.00318.89
8.1.150.0050.00218.56
8.1.140.0060.00317.39
8.1.130.0030.00317.80
8.1.120.0040.00417.34
8.1.110.0040.00717.37
8.1.100.0000.00717.39
8.1.90.0000.00817.42
8.1.80.0070.00017.30
8.1.70.0040.00417.33
8.1.60.0040.00417.48
8.1.50.0120.00017.43
8.1.40.0040.00417.45
8.1.30.0060.00317.51
8.1.20.0090.00017.59
8.1.10.0000.00717.43
8.1.00.0030.00617.37
8.0.300.0070.00018.77
8.0.290.0000.01016.75
8.0.280.0000.00718.46
8.0.270.0070.00017.27
8.0.260.0000.00616.86
8.0.250.0060.00316.84
8.0.240.0000.00816.99
8.0.230.0000.00716.89
8.0.220.0030.00316.71
8.0.210.0040.00416.73
8.0.200.0030.00316.93
8.0.190.0080.00016.81
8.0.180.0050.00216.76
8.0.170.0040.00416.87
8.0.160.0030.00316.85
8.0.150.0080.00016.68
8.0.140.0000.00816.76
8.0.130.0050.00313.34
8.0.120.0040.00416.85
8.0.110.0040.00416.86
8.0.100.0000.00816.81
8.0.90.0030.00516.77
8.0.80.0000.01616.75
8.0.70.0000.00816.68
8.0.60.0080.00016.66
8.0.50.0030.00616.80
8.0.30.0170.00216.97
8.0.20.0100.00717.40
8.0.10.0040.00416.79
8.0.00.0060.01616.85
7.4.330.0000.00514.95
7.4.320.0000.00616.45
7.4.300.0000.00716.44
7.4.290.0000.00716.55
7.4.280.0030.00316.43
7.4.270.0060.00016.55
7.4.260.0000.00513.21
7.4.250.0040.00416.50
7.4.240.0040.00416.49
7.4.230.0030.00316.57
7.4.220.0120.00916.62
7.4.210.0060.00816.57
7.4.200.0050.00216.57
7.4.190.0040.00416.48
7.4.160.0110.01116.43
7.4.150.0100.02217.40
7.4.140.0050.01217.86
7.4.130.0130.00416.49
7.4.120.0110.00716.42
7.4.110.0060.01516.54
7.4.100.0080.00816.49
7.4.90.0100.00716.40
7.4.80.0090.00919.39
7.4.70.0090.00616.43
7.4.60.0130.00316.45
7.4.50.0060.00316.14
7.4.40.0030.00922.77
7.4.30.0070.01116.49
7.4.00.0060.00915.00
7.3.330.0000.00513.21
7.3.320.0040.00313.18
7.3.310.0030.00316.13
7.3.300.0030.00316.24
7.3.290.0040.01116.31
7.3.280.0060.00916.20
7.3.270.0100.00617.40
7.3.260.0180.00616.24
7.3.250.0090.00816.18
7.3.240.0090.01216.38
7.3.230.0110.00916.39
7.3.210.0070.01316.51
7.3.200.0100.01719.39
7.3.190.0120.00916.24
7.3.180.0130.01016.38
7.3.170.0100.00616.46
7.3.160.0140.00316.11
7.3.120.0030.01414.53
7.3.110.0080.00814.69
7.3.100.0070.01014.72
7.3.90.0060.00914.75
7.3.80.0100.00714.94
7.3.70.0000.01114.61
7.3.60.0040.01114.84
7.3.50.0070.00714.66
7.3.40.0100.00714.82
7.3.30.0000.01314.92
7.3.20.0070.01116.67
7.3.10.0100.00716.50
7.3.00.0070.00816.41
7.2.330.0130.00316.43
7.2.320.0090.01316.40
7.2.310.0130.00316.48
7.2.300.0100.00716.41
7.2.290.0120.00616.30
7.2.240.0050.00815.06
7.2.230.0070.00714.87
7.2.220.0000.01014.95
7.2.210.0070.00714.88
7.2.200.0030.01414.96
7.2.190.0110.00614.76
7.2.180.0030.01314.69
7.2.170.0080.00914.75
7.2.160.0040.01415.04
7.2.150.0040.01416.64
7.2.140.0040.01116.61
7.2.130.0070.00716.41
7.2.120.0050.00816.61
7.2.110.0080.00816.64
7.2.100.0080.00916.48
7.2.90.0070.01016.50
7.2.80.0070.00516.60
7.2.70.0080.00716.56
7.2.60.0020.01116.63
7.2.50.0060.01016.53
7.2.40.0060.00716.55
7.2.30.0080.00516.58
7.2.20.0080.00716.58
7.2.10.0030.01216.47
7.2.00.0060.00716.71
7.1.330.0040.01115.74
7.1.320.0090.00315.70
7.1.310.0100.00615.75
7.1.300.0140.00015.57
7.1.290.0040.01115.51
7.1.280.0100.00715.39
7.1.270.0070.01015.49
7.1.260.0090.00615.63
7.1.250.0090.00715.55
7.1.240.0070.01015.71
7.1.230.0070.00315.29
7.1.220.0070.00715.48
7.1.210.0060.00915.54
7.1.200.0070.00715.59
7.1.190.0000.01415.49
7.1.180.0120.00315.54
7.1.170.0030.01015.52
7.1.160.0000.01315.74
7.1.150.0070.00715.79
7.1.140.0060.00915.58
7.1.130.0060.00315.45
7.1.120.0100.00315.58
7.1.110.0080.00415.46
7.1.100.0030.00615.75
7.1.90.0040.01115.61
7.1.80.0060.00615.59
7.1.70.0040.00716.20
7.1.60.0030.01417.44
7.1.50.0110.00316.12
7.1.40.0030.01315.73
7.1.30.0070.00315.54
7.1.20.0040.00815.38
7.1.10.0030.00615.79
7.1.00.0050.03419.04
7.0.330.0040.01115.17
7.0.320.0000.01515.46
7.0.310.0110.00415.21
7.0.300.0040.01215.14
7.0.290.0000.01315.05
7.0.280.0120.00014.95
7.0.270.0000.00915.20
7.0.260.0080.00314.90
7.0.250.0080.00315.23
7.0.240.0070.00715.43
7.0.230.0100.00315.08
7.0.220.0120.00314.93
7.0.210.0060.00615.32
7.0.200.0100.00615.92
7.0.190.0040.00715.31
7.0.180.0070.00715.05
7.0.170.0070.00715.32
7.0.160.0090.00315.12
7.0.150.0090.00315.27
7.0.140.0070.03818.59
7.0.130.0070.00715.23
7.0.120.0060.00815.30
7.0.110.0000.01215.38
7.0.100.0070.02717.65
7.0.90.0080.04017.44
7.0.80.0040.04717.54
7.0.70.0100.04317.57
7.0.60.0070.04417.55
7.0.50.0170.02617.85
7.0.40.0050.05016.60
7.0.30.0050.04516.59
7.0.20.0050.04416.64
7.0.10.0100.04316.75
7.0.00.0050.04316.67
5.6.380.0030.00714.29
5.6.370.0060.00314.39
5.6.360.0090.00614.39
5.6.350.0100.00314.23
5.6.340.0000.01314.30
5.6.330.0100.00314.53
5.6.320.0090.00614.11
5.6.310.0030.00614.07
5.6.300.0030.00914.47
5.6.290.0030.00714.03
5.6.280.0080.03817.64
5.6.270.0030.00914.28
5.6.260.0030.01414.40
5.6.250.0090.03817.33
5.6.240.0060.02817.41
5.6.230.0070.04717.26
5.6.220.0100.04017.40
5.6.210.0090.04217.38
5.6.200.0030.05017.59
5.6.190.0070.04617.56
5.6.180.0100.02517.62
5.6.170.0030.04417.71
5.6.160.0020.05517.60
5.6.150.0050.04517.65
5.6.140.0060.02717.46
5.6.130.0100.02717.65
5.6.120.0070.04717.55
5.6.110.0080.03817.40
5.6.100.0070.04517.58
5.6.90.0070.03617.41
5.6.80.0050.02817.32
5.6.70.0060.04017.17
5.6.60.0020.05217.14
5.6.50.0090.03917.22
5.6.40.0060.03017.11
5.6.30.0070.04217.17
5.6.20.0120.03817.20
5.6.10.0060.02517.31
5.6.00.0080.04517.07
5.5.380.0080.04015.73
5.5.370.0070.03515.78
5.5.360.0050.02715.84
5.5.350.0070.03315.79
5.5.340.0120.03415.97
5.5.330.0080.03716.01
5.5.320.0080.04715.98
5.5.310.0100.03015.99
5.5.300.0030.04516.01
5.5.290.0120.04715.99
5.5.280.0080.03815.91
5.5.270.0070.04215.96
5.5.260.0030.04515.97
5.5.250.0090.04215.91
5.5.240.0030.04715.64
5.5.230.0090.03915.71
5.5.220.0050.04015.62
5.5.210.0030.02715.66
5.5.200.0100.02315.64
5.5.190.0050.03015.64
5.5.180.0060.04215.68
5.5.170.0030.00311.18
5.5.160.0070.04515.69
5.5.150.0070.04315.70
5.5.140.0050.03015.56
5.5.130.0020.03715.67
5.5.120.0020.02915.65
5.5.110.0030.02715.69
5.5.100.0030.04315.54
5.5.90.0020.04315.61
5.5.80.0070.02415.60
5.5.70.0040.02915.58
5.5.60.0080.03215.61
5.5.50.0050.04215.64
5.5.40.0030.04315.55
5.5.30.0040.04115.53
5.5.20.0030.03715.64
5.5.10.0070.04415.55
5.5.00.0080.03915.56
5.4.450.0080.03815.26
5.4.440.0020.03815.34
5.4.430.0070.02315.27
5.4.420.0050.04715.37
5.4.410.0040.02615.29
5.4.400.0030.03815.10
5.4.390.0030.04515.16
5.4.380.0100.03515.01
5.4.370.0070.04215.16
5.4.360.0080.03815.15
5.4.350.0080.02015.16
5.4.340.0020.04015.19
5.4.330.0000.01111.18
5.4.320.0060.04115.06
5.4.310.0080.04015.15
5.4.300.0030.02915.14
5.4.290.0100.03515.06
5.4.280.0070.01815.13
5.4.270.0060.02915.10
5.4.260.0120.03515.19
5.4.250.0050.03815.04
5.4.240.0020.04515.10
5.4.230.0030.04215.15
5.4.220.0080.02515.10
5.4.210.0130.02115.02
5.4.200.0050.03715.11
5.4.190.0100.03815.17
5.4.180.0000.03315.16
5.4.170.0020.04015.16
5.4.160.0050.03415.13
5.4.150.0000.03115.00
5.4.140.0050.02113.79
5.4.130.0090.03213.79
5.4.120.0090.03613.81
5.4.110.0020.03513.83
5.4.100.0020.03013.83
5.4.90.0070.02013.86
5.4.80.0030.03813.87
5.4.70.0030.02213.80
5.4.60.0090.03613.79
5.4.50.0040.04113.77
5.4.40.0060.03513.81
5.4.30.0120.03713.80
5.4.20.0070.03513.77
5.4.10.0050.02513.79
5.4.00.0050.03913.49
5.3.290.0050.03012.87
5.3.280.0030.04312.88
5.3.270.0050.02412.89
5.3.260.0020.02512.94
5.3.250.0060.02812.92
5.3.240.0080.02812.95
5.3.230.0030.03712.90
5.3.220.0050.04112.84
5.3.210.0080.03212.87
5.3.200.0080.03612.94
5.3.190.0050.03012.85
5.3.180.0100.03612.88
5.3.170.0060.03912.90
5.3.160.0100.02312.85
5.3.150.0020.02812.86
5.3.140.0050.03212.87
5.3.130.0030.03512.83
5.3.120.0050.04312.85
5.3.110.0050.04312.83
5.3.100.0080.03812.60
5.3.90.0030.03812.58
5.3.80.0030.03512.55
5.3.70.0070.03812.64
5.3.60.0040.04212.59
5.3.50.0100.03312.53
5.3.40.0030.04012.55
5.3.30.0050.03312.61
5.3.20.0060.02212.43
5.3.10.0060.03812.38
5.3.00.0020.02712.46
5.2.170.0000.03511.13
5.2.160.0070.03011.22
5.2.150.0040.01811.19
5.2.140.0050.02111.13
5.2.130.0020.03411.09
5.2.120.0000.02111.07
5.2.110.0050.02611.19
5.2.100.0050.02511.21
5.2.90.0030.02811.19
5.2.80.0050.03211.10
5.2.70.0030.02111.10
5.2.60.0050.03311.13
5.2.50.0070.02911.03
5.2.40.0030.03311.05
5.2.30.0030.01811.08
5.2.20.0000.03411.07
5.2.10.0030.03111.00
5.2.00.0020.02510.90
5.1.60.0050.01610.59
5.1.50.0030.01510.61
5.1.40.0080.02210.60
5.1.30.0050.02910.79
5.1.20.0040.02910.74
5.1.10.0030.03310.67
5.1.00.0040.02710.67
5.0.50.0030.0239.91
5.0.40.0060.0179.82
5.0.30.0040.0219.72
5.0.20.0070.0189.61
5.0.10.0040.0109.71
5.0.00.0000.0249.67
4.4.90.0000.0139.34
4.4.80.0040.0159.34
4.4.70.0020.0219.34
4.4.60.0060.0189.34
4.4.50.0030.0189.34
4.4.40.0000.0169.34
4.4.30.0000.0129.34
4.4.20.0010.0169.34
4.4.10.0020.0139.34
4.4.00.0050.0259.34
4.3.110.0040.0089.34
4.3.100.0000.0219.34
4.3.90.0040.0119.34
4.3.80.0030.0159.34
4.3.70.0010.0199.34
4.3.60.0050.0169.34
4.3.50.0020.0209.34
4.3.40.0010.0289.34
4.3.30.0020.0179.34
4.3.20.0000.0139.34
4.3.10.0020.0199.34
4.3.00.0020.0209.34

preferences:
48.97 ms | 401 KiB | 5 Q