3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface flerp { public function bar(); } abstract class derp implements flerp { public function foo() { echo 'foo'; } } class herp extends derp { } $herp = new herp(); $herp->foo(); $herp->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.40.0160.00318.63
8.3.30.0120.00318.96
8.3.20.0000.00820.22
8.3.10.0090.00023.53
8.3.00.0040.00419.25
8.2.170.0140.00022.96
8.2.160.0130.00020.39
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0060.00320.50
8.2.110.0070.00319.21
8.2.100.0120.00017.72
8.2.90.0000.00819.16
8.2.80.0040.00417.97
8.2.70.0030.00617.50
8.2.60.0080.00017.93
8.2.50.0080.00018.07
8.2.40.0040.00419.95
8.2.30.0050.00218.02
8.2.20.0000.00717.68
8.2.10.0040.00417.97
8.2.00.0040.00417.74
8.1.270.0030.00523.70
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0090.00022.19
8.1.230.0060.00618.94
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0040.00417.00
8.1.190.0030.00517.10
8.1.180.0000.00718.10
8.1.170.0000.00718.65
8.1.160.0000.00821.91
8.1.150.0030.00518.82
8.1.140.0040.00417.38
8.1.130.0000.00717.80
8.1.120.0070.00017.33
8.1.110.0040.00417.21
8.1.100.0000.00817.41
8.1.90.0060.00317.43
8.1.80.0030.00317.40
8.1.70.0070.00017.30
8.1.60.0030.00617.50
8.1.50.0030.00517.37
8.1.40.0080.00017.45
8.1.30.0030.00617.51
8.1.20.0000.00717.45
8.1.10.0000.00717.26
8.1.00.0040.00417.20
8.0.300.0060.00322.03
8.0.290.0040.00416.75
8.0.280.0070.00018.29
8.0.270.0030.00317.20
8.0.260.0000.00617.10
8.0.250.0030.00316.91
8.0.240.0040.00416.96
8.0.230.0070.00016.94
8.0.220.0030.00316.93
8.0.210.0050.00316.93
8.0.200.0000.00716.87
8.0.190.0030.00617.00
8.0.180.0050.00316.88
8.0.170.0080.00016.83
8.0.160.0000.00816.86
8.0.150.0080.00016.93
8.0.140.0030.00316.73
8.0.130.0050.00013.41
8.0.120.0000.00716.84
8.0.110.0040.00416.85
8.0.100.0000.00816.90
8.0.90.0070.00016.94
8.0.80.0070.01016.87
8.0.70.0070.00016.68
8.0.60.0040.00416.77
8.0.50.0070.00016.95
8.0.30.0140.00817.06
8.0.20.0060.01217.40
8.0.10.0070.00016.95
8.0.00.0060.01316.80
7.4.330.0050.00015.02
7.4.320.0000.00816.41
7.4.300.0000.00616.54
7.4.290.0060.00016.47
7.4.280.0040.00416.43
7.4.270.0030.00316.43
7.4.260.0030.00316.36
7.4.250.0000.00716.43
7.4.240.0000.00716.42
7.4.230.0030.00516.60
7.4.220.0150.00316.39
7.4.210.0120.00316.38
7.4.200.0030.00416.38
7.4.160.0060.00916.24
7.4.150.0180.00017.40
7.4.140.0090.01317.86
7.4.130.0040.01216.42
7.4.120.0050.01516.43
7.4.110.0000.01716.43
7.4.100.0150.00316.63
7.4.90.0000.01816.31
7.4.80.0190.00319.39
7.4.70.0030.01616.46
7.4.60.0140.00616.59
7.4.50.0030.00316.23
7.4.40.0060.01016.39
7.4.30.0120.00816.55
7.4.00.0070.01015.19
7.3.330.0050.00013.13
7.3.320.0050.00013.37
7.3.310.0000.00716.35
7.3.300.0000.00716.24
7.3.290.0090.00616.29
7.3.280.0090.00716.35
7.3.270.0140.00417.40
7.3.260.0170.00016.35
7.3.250.0060.01116.39
7.3.240.0110.00616.46
7.3.230.0160.00016.40
7.3.210.0070.01016.45
7.3.200.0080.00819.39
7.3.190.0100.00716.58
7.3.180.0030.01716.46
7.3.170.0130.00916.29
7.3.160.0030.01716.32
7.2.330.0100.00616.60
7.2.320.0030.01316.65
7.2.310.0080.00816.47
7.2.300.0100.01116.22
7.2.290.0000.02216.46
7.2.60.0060.00916.79
7.2.00.0040.00819.37
7.1.200.0060.00315.80
7.1.100.0000.01117.96
7.1.70.0030.00616.96
7.1.60.0060.01219.32
7.1.50.0130.00916.86
7.1.00.0030.07722.36
7.0.200.0730.00414.52
7.0.140.0030.07322.08
7.0.60.0130.07720.03
7.0.50.0030.05017.86
7.0.40.0070.06020.25
7.0.30.0230.08320.28
7.0.20.0100.04720.33
7.0.10.0130.08020.07
7.0.00.0000.07020.08
5.6.280.0100.07020.78
5.6.210.0100.07720.50
5.6.200.0000.09718.29
5.6.190.0030.10020.41
5.6.180.0170.06720.77
5.6.170.0200.03720.54
5.6.160.0000.04720.47
5.6.150.0100.07718.14
5.6.140.0170.07318.28
5.6.130.0070.08318.14
5.6.120.0100.08021.05
5.6.110.0000.09021.02
5.6.100.0070.07021.09
5.6.90.0100.05720.98
5.6.80.0070.06320.29
5.6.70.0030.05020.37
5.5.350.0170.04020.36
5.5.340.0030.04718.06
5.5.330.0000.05020.13
5.5.320.0270.05020.20
5.5.310.0200.08320.21
5.5.300.0030.04018.07
5.5.290.0000.05018.08
5.5.280.0130.08020.75
5.5.270.0030.08020.76
5.5.260.0030.09320.88
5.5.250.0070.08020.78
5.5.240.4030.03320.29
5.4.450.0730.05719.31
5.4.440.0870.04719.45
5.4.430.0730.05719.30
5.4.420.0800.06019.16
5.4.410.0470.04719.25
5.4.400.0900.05019.27
5.4.390.0670.06319.29
5.4.380.0700.06319.29
5.4.370.0930.05319.06
5.4.360.0830.05719.14
5.4.350.0900.04719.01
5.4.340.0090.03712.02
5.4.320.0090.05512.50
5.4.310.0090.05712.50
5.4.300.0130.07312.50
5.4.290.0250.08312.50
5.4.280.0110.08712.39
5.4.270.0070.04212.40
5.4.260.0060.04012.39
5.4.250.0090.03812.40
5.4.240.0060.03912.40
5.4.230.0020.04112.39
5.4.220.0050.03912.39
5.4.210.0120.03412.39
5.4.200.0110.04912.38
5.4.190.0080.05012.38
5.4.180.0050.05712.39
5.4.170.0110.03912.39
5.4.160.0150.05212.39
5.4.150.0130.03912.39
5.4.140.0080.04412.07
5.4.130.0080.05012.05
5.4.120.0080.04212.02
5.4.110.0090.05512.01
5.4.100.0070.05412.01
5.4.90.0040.05112.01
5.4.80.0040.05812.01
5.4.70.0140.06112.01
5.4.60.0210.08212.01
5.4.50.0090.05212.01
5.4.40.0030.04211.99
5.4.30.0110.03011.99
5.4.20.0070.03411.99
5.4.10.0070.03612.00
5.4.00.0060.03811.48
5.3.290.0040.04612.80
5.3.280.0080.03612.71
5.3.270.0070.04012.72
5.3.260.0120.06112.72
5.3.250.0100.03512.72
5.3.240.0080.03612.72
5.3.230.0040.04012.71
5.3.220.0040.03912.68
5.3.210.0080.04412.68
5.3.200.0080.04312.68
5.3.190.0050.04212.68
5.3.180.0090.03312.67
5.3.170.0040.03912.67
5.3.160.0040.04012.68
5.3.150.0100.03412.67
5.3.140.0090.03412.66
5.3.130.0120.03512.66
5.3.120.0090.05312.66
5.3.110.0060.04012.66
5.3.100.0060.03812.13
5.3.90.0030.03912.11
5.3.80.0060.03712.10
5.3.70.0070.03512.10
5.3.60.0070.03612.08
5.3.50.0040.03912.03
5.3.40.0090.03612.03
5.3.30.0050.03811.98
5.3.20.0070.03611.77
5.3.10.0060.03611.74
5.3.00.0060.03711.72
5.2.170.0060.0309.23
5.2.160.0030.0329.23
5.2.150.0080.0319.23
5.2.140.0060.0319.23
5.2.130.0060.0289.19
5.2.120.0040.0309.18
5.2.110.0060.0309.19
5.2.100.0060.0279.18
5.2.90.0050.0299.18
5.2.80.0080.0409.18
5.2.70.0010.0349.18
5.2.60.0070.0319.13
5.2.50.0070.0359.11
5.2.40.0040.0299.08
5.2.30.0060.0289.05
5.2.20.0020.0329.04
5.2.10.0030.0318.95
5.2.00.0060.0288.81
5.1.60.0050.0318.09
5.1.50.0050.0258.09
5.1.40.0020.0278.07
5.1.30.0030.0308.42
5.1.20.0080.0278.44
5.1.10.0020.0318.17
5.1.00.0070.0228.17
5.0.50.0030.0216.64
5.0.40.0080.0406.51
5.0.30.0070.0456.32
5.0.20.0030.0216.29
5.0.10.0050.0226.27
5.0.00.0060.0316.26
4.4.90.0020.0164.78
4.4.80.0050.0154.75
4.4.70.0030.0214.75
4.4.60.0010.0184.76
4.4.50.0020.0164.77
4.4.40.0030.0274.71
4.4.30.0030.0154.76
4.4.20.0030.0154.84
4.4.10.0050.0134.85
4.4.00.0070.0204.76
4.3.110.0020.0164.67
4.3.100.0040.0134.66
4.3.90.0020.0154.64
4.3.80.0050.0224.58
4.3.70.0030.0154.63
4.3.60.0050.0124.63
4.3.50.0010.0174.63
4.3.40.0040.0224.54
4.3.30.0030.0153.28
4.3.20.0020.0163.26
4.3.10.0050.0133.22
4.3.00.0200.0236.99

preferences:
44.73 ms | 400 KiB | 5 Q