3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A { public function a(); } interface B { public function a(); } class AB implements A, B { public function a() {} }

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.40.0070.01418.68
8.3.30.0090.00618.91
8.3.20.0030.00320.16
8.3.10.0080.00023.52
8.3.00.0070.00022.43
8.2.170.0110.00322.96
8.2.160.0040.01120.94
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0050.00319.23
8.2.110.0110.00720.94
8.2.100.0080.00417.78
8.2.90.0040.00419.02
8.2.80.0050.00317.97
8.2.70.0050.00317.75
8.2.60.0040.00418.04
8.2.50.0000.00918.10
8.2.40.0040.00420.55
8.2.30.0030.00617.86
8.2.20.0040.00417.46
8.2.10.0040.00417.48
8.2.00.0050.00317.53
8.1.270.0040.00423.75
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00321.01
8.1.230.0070.00417.58
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0040.00417.10
8.1.190.0050.00317.00
8.1.180.0030.00618.10
8.1.170.0040.00418.66
8.1.160.0030.00522.05
8.1.150.0050.00318.66
8.1.140.0040.00417.38
8.1.130.0040.00417.75
8.1.120.0070.00017.40
8.1.110.0030.00417.34
8.1.100.0070.00017.44
8.1.90.0050.00217.27
8.1.80.0000.00717.40
8.1.70.0030.00317.36
8.1.60.0040.00417.54
8.1.50.0030.00617.44
8.1.40.0000.00717.48
8.1.30.0040.00417.61
8.1.20.0060.00317.57
8.1.10.0030.00517.34
8.1.00.0050.00317.27
8.0.300.0040.00418.77
8.0.290.0080.00016.63
8.0.280.0030.00318.40
8.0.270.0000.00717.22
8.0.260.0000.00616.77
8.0.250.0000.00716.81
8.0.240.0030.00316.86
8.0.230.0000.00716.94
8.0.220.0030.00316.82
8.0.210.0030.00516.86
8.0.200.0060.00016.88
8.0.190.0000.00716.78
8.0.180.0050.00316.89
8.0.170.0040.00416.81
8.0.160.0070.00016.79
8.0.150.0000.00716.74
8.0.140.0080.00016.73
8.0.130.0030.00313.28
8.0.120.0040.00416.82
8.0.110.0020.00516.74
8.0.100.0030.00616.69
8.0.90.0000.00716.80
8.0.80.0120.00316.72
8.0.70.0080.00016.65
8.0.60.0030.00516.83
8.0.50.0070.00016.68
8.0.30.0110.00816.96
8.0.20.0110.01117.40
8.0.10.0000.00716.96
8.0.00.0050.01316.86
7.4.330.0000.00615.02
7.4.320.0040.00416.33
7.4.300.0080.00016.27
7.4.290.0000.00816.43
7.4.280.0070.00316.46
7.4.270.0060.00016.46
7.4.260.0080.00016.42
7.4.250.0000.00716.41
7.4.240.0050.00216.51
7.4.230.0030.00316.17
7.4.220.0030.01716.57
7.4.210.0070.00916.51
7.4.200.0000.00716.27
7.4.190.0000.00716.59
7.4.160.0100.00716.24
7.4.150.0160.00917.40
7.4.140.0140.00917.86
7.4.130.0100.00816.51
7.4.120.0120.00516.57
7.4.110.0070.01116.34
7.4.100.0030.01416.47
7.4.90.0120.00416.30
7.4.80.0090.00916.45
7.4.70.0100.00616.47
7.4.60.0090.00816.33
7.4.50.0060.00316.42
7.4.40.0070.00422.77
7.4.30.0080.00816.59
7.4.00.0060.00915.13
7.3.330.0050.00013.16
7.3.320.0030.00313.13
7.3.310.0000.00716.18
7.3.300.0070.00016.19
7.3.290.0090.01216.19
7.3.280.0060.01116.18
7.3.270.0090.00817.40
7.3.260.0070.01016.30
7.3.250.0110.00716.46
7.3.240.0110.00516.52
7.3.230.0060.00916.39
7.3.210.0080.00916.35
7.3.200.0140.00619.39
7.3.190.0150.00416.34
7.3.180.0120.00916.25
7.3.170.0040.01516.27
7.3.160.0070.01016.48
7.3.120.0040.01414.92
7.3.110.0040.01414.75
7.3.100.0100.00314.68
7.3.90.0080.00814.42
7.3.80.0100.00314.41
7.3.70.0090.00614.75
7.3.60.0070.00714.49
7.3.50.0000.01214.56
7.3.40.0060.00314.79
7.3.30.0000.01414.43
7.3.20.0060.00916.60
7.3.10.0050.00216.62
7.3.00.0040.01116.61
7.2.330.0070.01116.68
7.2.320.0090.01216.32
7.2.310.0130.00316.48
7.2.300.0090.01216.15
7.2.290.0060.01216.54
7.2.240.0030.01414.77
7.2.230.0060.00614.89
7.2.220.0030.00814.59
7.2.210.0030.01014.85
7.2.200.0150.00014.86
7.2.190.0030.00915.02
7.2.180.0100.00315.02
7.2.170.0030.01015.02
7.2.160.0120.00014.99
7.2.150.0050.00516.63
7.2.140.0080.00416.63
7.2.130.0030.01316.58
7.2.120.0060.00616.68
7.2.110.0050.00516.62
7.2.100.0060.00316.92
7.2.90.0000.01216.73
7.2.80.0030.00916.83
7.2.70.0030.01316.83
7.2.60.0000.01316.55
7.2.50.0090.00316.57
7.2.40.0060.00616.44
7.2.30.0120.00316.89
7.2.20.0070.01116.61
7.2.10.0000.00816.57
7.2.00.0030.01118.08
7.1.330.0100.00615.69
7.1.320.0000.00815.55
7.1.310.0030.00915.80
7.1.300.0000.00715.70
7.1.290.0050.00515.74
7.1.280.0000.00915.59
7.1.270.0030.00715.41
7.1.260.0030.00715.70
7.1.250.0030.01015.86
7.1.100.0060.00618.04
7.1.70.0000.01117.00
7.1.60.0030.02119.32
7.1.50.0030.01316.90
7.1.00.0070.07322.44
7.0.200.0030.00716.85
7.0.140.0000.07722.00
7.0.80.0070.07320.01
7.0.70.0230.05019.87
7.0.60.0030.05019.94
7.0.50.0300.04720.34
7.0.40.0070.04320.14
7.0.30.0070.06720.10
7.0.20.0030.07020.07
7.0.10.0030.03720.04
7.0.00.0070.04320.01
5.6.280.0070.07021.10
5.6.230.0170.06720.63
5.6.220.0070.07320.56
5.6.210.0030.09020.65
5.6.200.0230.06021.18
5.6.190.0000.04721.14
5.6.180.0070.04720.95
5.6.170.0100.03721.02
5.6.160.0130.03321.09
5.6.150.0130.06321.09
5.6.140.0030.03720.93
5.6.130.0100.06721.04
5.6.120.0070.03321.11
5.6.110.0000.04721.01
5.6.100.0100.03721.06
5.6.90.0070.03320.93
5.6.80.0070.03020.56
5.6.70.0200.07020.39
5.6.60.0000.05320.48
5.6.50.0070.03320.45
5.6.40.0170.02720.40
5.6.30.0030.04720.46
5.6.20.0030.04720.40
5.6.10.0030.04320.37
5.6.00.0070.07720.52
5.5.370.0030.06020.57
5.5.360.0030.05320.38
5.5.350.0100.07020.38
5.5.340.0070.10020.89
5.5.330.0100.06020.84
5.5.320.0100.06020.91
5.5.310.0070.07020.73
5.5.300.0000.04020.90
5.5.290.0000.04020.92
5.5.280.0000.04020.73
5.5.270.0030.06320.80
5.5.260.0100.06720.77
5.5.250.0030.03720.61
5.5.240.0130.06020.21
5.5.230.0030.03320.18
5.5.220.0070.06320.25
5.5.210.0000.04320.27
5.5.200.0000.03719.99
5.5.190.0000.08320.25
5.5.180.0000.07020.09
5.5.160.0030.04320.24
5.5.150.0030.04319.98
5.5.140.0000.05020.09
5.5.130.0000.06020.14
5.5.120.0030.03320.24
5.5.110.0030.07720.27
5.5.100.0000.07719.98
5.5.90.0130.06720.15
5.5.80.0000.03719.95
5.5.70.0070.07320.05
5.5.60.0070.07720.00
5.5.50.0000.04020.15
5.5.40.0070.05720.05
5.5.30.0000.04320.05
5.5.20.0000.07320.03
5.5.10.0030.07020.09
5.5.00.0130.04020.10
5.4.450.0030.03319.58
5.4.440.0070.07319.20
5.4.430.0030.04719.35
5.4.420.0000.04719.22
5.4.410.0030.06719.32
5.4.400.0030.04319.19
5.4.390.0030.05318.88
5.4.380.0070.03019.23
5.4.370.0170.03019.14
5.4.360.0070.05319.02
5.4.350.0030.03319.05
5.4.340.0100.08019.05
5.4.320.0130.04319.04
5.4.310.0070.07319.25
5.4.300.0070.06719.09
5.4.290.0130.04719.12
5.4.280.0070.07019.02
5.4.270.0100.02719.12
5.4.260.0030.04018.84
5.4.250.0100.02719.12
5.4.240.0100.07319.04
5.4.230.0070.05018.98
5.4.220.0070.05719.23
5.4.210.0030.03719.08
5.4.200.0070.03318.87
5.4.190.0100.03319.19
5.4.180.0100.03019.02
5.4.170.0170.05719.13
5.4.160.0000.04319.10
5.4.150.0070.03719.02
5.4.140.0070.07016.46
5.4.130.0070.06716.51
5.4.120.0100.04016.46
5.4.110.0000.04316.56
5.4.100.0070.06316.40
5.4.90.0100.04016.48
5.4.80.0000.04016.52
5.4.70.0100.07316.54
5.4.60.0100.05016.47
5.4.50.0070.03316.36
5.4.40.0000.03316.54
5.4.30.0000.03316.43
5.4.20.0100.03016.45
5.4.10.0000.03316.36
5.4.00.0000.03015.78
5.3.290.0130.05014.72
5.3.280.0070.06314.70
5.3.270.0030.06314.64
5.3.260.0130.06314.65
5.3.250.0030.05714.66
5.3.240.0070.06014.64
5.3.230.0000.04014.61
5.3.220.0100.04714.63
5.3.210.0000.05714.50
5.3.200.0000.04314.63
5.3.190.0030.04314.63
5.3.180.0100.03014.66
5.3.170.0000.05314.66
5.3.160.0070.05314.57
5.3.150.0070.05314.60
5.3.140.0000.03714.66
5.3.130.0070.04014.69
5.3.120.0030.03714.50
5.3.110.0030.03314.61
5.3.100.0000.04014.02
5.3.90.0030.03013.96
5.3.80.0070.02714.01
5.3.70.0030.03014.08
5.3.60.0070.03014.07
5.3.50.0070.03014.08
5.3.40.0000.03714.05
5.3.30.0070.03013.91
5.3.20.0100.03313.78
5.3.10.0000.03313.80
5.3.00.0000.03013.78
5.2.170.0130.02011.60
5.2.160.0100.01711.60
5.2.150.0000.02711.60
5.2.140.0000.02711.60
5.2.130.0070.02011.60
5.2.120.0000.02711.60
5.2.110.0030.02311.60
5.2.100.0000.02711.60
5.2.90.0070.02011.60
5.2.80.0030.02311.60
5.2.70.0030.02311.60
5.2.60.0030.02311.60
5.2.50.0030.02311.60
5.2.40.0070.02011.60
5.2.30.0000.02711.60
5.2.20.0000.02711.60
5.2.10.0030.02311.60
5.2.00.0030.02311.60
5.1.60.0000.02311.60
5.1.50.0000.02311.60
5.1.40.0000.02011.60
5.1.30.0000.02311.60
5.1.20.0000.02311.60
5.1.10.0000.02311.60
5.1.00.0000.02311.60
5.0.50.0000.02311.60
5.0.40.0000.01711.60
5.0.30.0000.02711.60
5.0.20.0000.01711.60
5.0.10.0030.01311.60
5.0.00.0000.02711.60
4.4.90.0000.01311.60
4.4.80.0000.01711.60
4.4.70.0000.01311.60
4.4.60.0000.01311.60
4.4.50.0030.01011.60
4.4.40.0000.02011.60
4.4.30.0030.01011.60
4.4.20.0000.01311.60
4.4.10.0030.01011.60
4.4.00.0030.01711.60
4.3.110.0000.01311.60
4.3.100.0000.01311.60
4.3.90.0000.01311.60
4.3.80.0000.02311.60
4.3.70.0030.01011.60
4.3.60.0000.01311.60
4.3.50.0000.01711.60
4.3.40.0030.01711.60
4.3.30.0000.01311.60
4.3.20.0000.01311.60
4.3.10.0030.01011.60
4.3.00.0000.01711.60

preferences:
51.39 ms | 400 KiB | 5 Q