3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface foo { function foo1($a); } class bar implements foo { function foo1($a, $b=1) {} }

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.0070.01418.18
8.3.50.0140.00018.32
8.3.40.0150.00018.45
8.3.30.0110.00318.86
8.3.20.0000.00820.34
8.3.10.0040.00423.45
8.3.00.0080.00021.01
8.2.180.0170.00318.16
8.2.170.0100.00722.96
8.2.160.0130.00020.39
8.2.150.0050.00324.18
8.2.140.0060.00324.66
8.2.130.0000.00726.16
8.2.120.0000.00819.23
8.2.110.0060.00321.02
8.2.100.0070.00417.66
8.2.90.0020.00518.16
8.2.80.0000.00817.97
8.2.70.0000.00818.03
8.2.60.0030.00617.68
8.2.50.0030.00718.10
8.2.40.0030.00519.35
8.2.30.0000.00718.29
8.2.20.0050.00317.62
8.2.10.0050.00217.88
8.2.00.0050.00217.68
8.1.270.0180.00023.82
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0030.00620.64
8.1.230.0090.00320.68
8.1.220.0000.00817.74
8.1.210.0040.00818.98
8.1.200.0050.00517.23
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0040.00418.74
8.1.160.0040.00421.92
8.1.150.0040.00418.45
8.1.140.0040.00417.38
8.1.130.0030.00319.55
8.1.120.0030.00317.43
8.1.110.0000.00817.33
8.1.100.0040.00417.38
8.1.90.0000.00817.28
8.1.80.0040.00417.40
8.1.70.0080.00017.31
8.1.60.0030.00517.47
8.1.50.0040.00417.44
8.1.40.0130.00017.39
8.1.30.0040.00417.61
8.1.20.0030.00617.53
8.1.10.0000.00817.35
8.1.00.0040.00417.34
8.0.300.0070.00019.88
8.0.290.0120.00016.58
8.0.280.0030.00318.48
8.0.270.0000.00717.18
8.0.260.0040.00417.06
8.0.250.0000.00716.82
8.0.240.0040.00416.91
8.0.230.0000.00716.77
8.0.220.0040.00416.71
8.0.210.0040.00416.83
8.0.200.0000.00616.92
8.0.190.0050.00216.80
8.0.180.0050.00216.86
8.0.170.0000.00816.75
8.0.160.0070.00016.78
8.0.150.0000.01016.74
8.0.140.0030.00616.67
8.0.130.0030.00313.29
8.0.120.0000.00816.82
8.0.110.0040.00416.73
8.0.100.0000.00716.70
8.0.90.0000.00716.89
8.0.80.0030.01316.82
8.0.70.0040.00416.82
8.0.60.0070.00016.67
8.0.50.0000.00716.87
8.0.30.0080.01116.85
8.0.20.0140.00617.40
8.0.10.0000.00716.77
8.0.00.0100.01016.63
7.4.330.0050.00015.07
7.4.320.0030.00316.43
7.4.300.0030.00316.35
7.4.290.0000.00716.44
7.4.280.0000.00716.44
7.4.270.0000.00716.52
7.4.260.0050.00316.38
7.4.250.0000.00816.40
7.4.240.0040.00316.47
7.4.230.0000.00816.65
7.4.220.0060.01016.55
7.4.210.0080.00516.62
7.4.200.0000.00716.38
7.4.160.0080.00816.41
7.4.150.0100.00717.40
7.4.140.0080.00817.86
7.4.130.0050.01116.44
7.4.120.0070.00916.37
7.4.110.0170.00016.47
7.4.100.0080.00816.40
7.4.90.0070.01316.23
7.4.80.0170.01419.39
7.4.70.0120.00916.48
7.4.60.0090.01016.56
7.4.50.0000.00516.29
7.4.40.0030.01216.30
7.4.30.0100.00616.39
7.4.00.0060.00614.98
7.3.330.0050.00013.18
7.3.320.0020.00213.04
7.3.310.0040.00416.21
7.3.300.0030.00316.05
7.3.290.0030.01016.22
7.3.280.0080.01016.17
7.3.270.0100.00717.40
7.3.260.0150.00616.13
7.3.250.0120.00516.31
7.3.240.0150.00316.44
7.3.230.0080.00816.46
7.3.210.0150.00616.14
7.3.200.0090.01219.39
7.3.190.0080.00816.42
7.3.180.0060.00916.30
7.3.170.0030.01316.27
7.3.160.0110.00516.34
7.3.120.0070.00714.69
7.2.330.0110.00716.62
7.2.320.0120.00916.54
7.2.310.0120.00616.52
7.2.300.0060.01616.18
7.2.290.0090.00616.41
7.2.60.0040.00716.55
7.2.00.0000.01519.09
7.1.200.0000.01415.61
7.1.100.0070.00717.89
7.1.70.0040.00417.04
7.1.60.0100.01419.70
7.1.50.0120.00616.85
7.1.00.0030.07722.46
7.0.200.0000.00816.66
7.0.140.0030.07322.18
7.0.60.0130.06319.85
7.0.50.0000.08717.90
7.0.40.0070.04020.11
7.0.30.0470.05020.09
7.0.20.0230.03720.24
7.0.10.0270.08320.16
7.0.00.0170.04720.32
5.6.280.0000.07721.04
5.6.210.0100.04720.47
5.6.200.0130.08018.15
5.6.190.0130.08020.33
5.6.180.0270.04320.49
5.6.170.0200.04020.51
5.6.160.0130.05720.50
5.6.150.0100.05018.15
5.6.140.0070.08018.14
5.6.130.0030.08318.28
5.6.120.0170.06721.15
5.6.110.0070.05021.14
5.6.100.0130.08021.00
5.6.90.0130.08020.94
5.6.80.0070.08320.35
5.6.70.0170.07320.33
5.5.350.0100.03320.40
5.5.340.0030.08018.14
5.5.330.0030.06720.41
5.5.320.0000.05720.57
5.5.310.0400.06720.50
5.5.300.0070.03717.98
5.5.290.0100.07717.92
5.5.280.0030.08720.96
5.5.270.0030.06720.97
5.5.260.0030.04720.65
5.5.250.0070.07320.69
5.5.240.0100.07720.21
5.4.450.0030.06719.39
5.4.440.0900.05019.45
5.4.430.0300.05319.56
5.4.420.0630.00019.56
5.4.410.0130.05318.72
5.4.400.0300.05718.73
5.4.390.0170.05318.73
5.4.380.0200.05718.79
5.4.370.0070.05318.75
5.4.360.0100.04018.50
5.4.350.0040.04012.02
5.4.340.0130.08112.02
5.4.320.0050.04512.50
5.4.310.0050.04212.50
5.4.300.0040.04112.50
5.4.290.0050.04312.50
5.4.280.0070.03712.39
5.4.270.0050.03912.40
5.4.260.0080.03812.39
5.4.250.0030.05212.39
5.4.240.0090.03712.39
5.4.230.0090.03912.39
5.4.220.0070.04012.38
5.4.210.0150.03012.39
5.4.200.0050.04512.39
5.4.190.0080.03912.38
5.4.180.0090.03812.38
5.4.170.0090.03812.39
5.4.160.0060.04312.39
5.4.150.0080.03512.39
5.4.140.0080.03712.07
5.4.130.0090.03812.06
5.4.120.0060.04212.02
5.4.110.0060.04212.01
5.4.100.0050.03712.01
5.4.90.0070.03712.01
5.4.80.0130.04912.01
5.4.70.0050.04512.01
5.4.60.0070.04312.01
5.4.50.0080.04512.01
5.4.40.0050.03611.99
5.4.30.0070.03511.99
5.4.20.0060.03711.99
5.4.10.0080.04111.99
5.4.00.0100.03811.48
5.3.290.0070.03912.80
5.3.280.0130.03512.71
5.3.270.0040.04612.73
5.3.260.0080.04512.72
5.3.250.0040.05012.72
5.3.240.0050.04412.72
5.3.230.0100.03712.71
5.3.220.0070.05112.68
5.3.210.0060.04412.68
5.3.200.0110.04312.68
5.3.190.0060.03912.68
5.3.180.0080.04212.67
5.3.170.0100.04712.66
5.3.160.0110.04012.67
5.3.150.0080.03912.67
5.3.140.0050.04212.66
5.3.130.0050.04512.66
5.3.120.0060.04512.66
5.3.110.0060.04312.66
5.3.100.0090.03712.12
5.3.90.0090.03712.10
5.3.80.0070.03812.10
5.3.70.0120.03312.10
5.3.60.0110.03912.08
5.3.50.0080.04212.03
5.3.40.0100.03912.02
5.3.30.0030.04011.98
5.3.20.0090.03511.76
5.3.10.0060.03511.73
5.3.00.0030.04011.72
5.2.170.0040.0349.22
5.2.160.0050.0329.22
5.2.150.0040.0439.22
5.2.140.0060.0419.22
5.2.130.0030.0419.18
5.2.120.0090.0269.18
5.2.110.0050.0319.18
5.2.100.0090.0339.18
5.2.90.0060.0309.18
5.2.80.0060.0319.18
5.2.70.0050.0329.17
5.2.60.0040.0349.13
5.2.50.0050.0329.10
5.2.40.0080.0289.07
5.2.30.0040.0319.05
5.2.20.0050.0359.04
5.2.10.0030.0328.94
5.2.00.0040.0318.80
5.1.60.0050.0258.09
5.1.50.0060.0268.08
5.1.40.0100.0318.07
5.1.30.0060.0368.41
5.1.20.0080.0358.44
5.1.10.0060.0248.16
5.1.00.0060.0258.17
5.0.50.0050.0196.64
5.0.40.0050.0186.50
5.0.30.0070.0386.31
5.0.20.0040.0196.28
5.0.10.0030.0206.25
5.0.00.0030.0326.25
4.4.90.0050.0144.78
4.4.80.0020.0174.75
4.4.70.0040.0154.75
4.4.60.0020.0174.75
4.4.50.0040.0144.77
4.4.40.0020.0284.71
4.4.30.0010.0194.75
4.4.20.0040.0164.84
4.4.10.0020.0164.85
4.4.00.0040.0244.76
4.3.110.0020.0164.67
4.3.100.0010.0184.66
4.3.90.0040.0174.64
4.3.80.0050.0284.59
4.3.70.0050.0174.63
4.3.60.0020.0184.63
4.3.50.0040.0164.63
4.3.40.0050.0234.54
4.3.30.0000.0193.28
4.3.20.0010.0183.26
4.3.10.0030.0153.22
4.3.00.0000.0236.97

preferences:
66.3 ms | 400 KiB | 5 Q