3v4l.org

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

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.00718.59
8.3.30.0040.01119.14
8.3.20.0100.00720.21
8.3.10.0050.00323.64
8.3.00.0080.00019.04
8.2.170.0100.00722.96
8.2.160.0030.01020.38
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00419.36
8.2.110.0040.00422.01
8.2.100.0110.00020.40
8.2.90.0040.00419.22
8.2.80.0050.00317.97
8.2.70.0030.00617.63
8.2.60.0080.00017.80
8.2.50.0000.00818.07
8.2.40.0000.00819.82
8.2.30.0040.00418.05
8.2.20.0080.00017.66
8.2.10.0040.00417.96
8.2.00.0040.00417.48
8.1.270.0060.00323.74
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00022.02
8.1.230.0110.00019.22
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0100.00017.36
8.1.190.0030.00517.00
8.1.180.0050.00218.10
8.1.170.0060.00318.53
8.1.160.0020.00522.01
8.1.150.0040.00418.58
8.1.140.0000.00717.30
8.1.130.0030.00319.55
8.1.120.0040.00417.45
8.1.110.0070.00017.35
8.1.100.0000.00717.32
8.1.90.0000.00717.37
8.1.80.0080.00017.36
8.1.70.0000.00717.37
8.1.60.0000.00817.55
8.1.50.0040.00417.47
8.1.40.0060.00617.38
8.1.30.0030.00617.48
8.1.20.0030.00517.61
8.1.10.0040.00417.38
8.1.00.0000.00717.36
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0030.00318.46
8.0.270.0030.00317.11
8.0.260.0060.00017.08
8.0.250.0030.00316.93
8.0.240.0040.00416.96
8.0.230.0050.00316.96
8.0.220.0000.00616.82
8.0.210.0040.00416.91
8.0.200.0040.00416.91
8.0.190.0000.00716.92
8.0.180.0000.00716.84
8.0.170.0050.00316.94
8.0.160.0000.00717.01
8.0.150.0030.00316.81
8.0.140.0030.00616.82
8.0.130.0030.00313.31
8.0.120.0000.00716.90
8.0.110.0040.00416.91
8.0.100.0040.00416.95
8.0.90.0050.00216.72
8.0.80.0060.01316.88
8.0.70.0050.00316.76
8.0.60.0030.00316.68
8.0.50.0070.00016.93
8.0.30.0090.01117.01
8.0.20.0130.00717.40
8.0.10.0030.00516.78
8.0.00.0090.01116.77
7.4.330.0000.00515.00
7.4.320.0060.00016.43
7.4.300.0060.00016.35
7.4.290.0070.00016.40
7.4.280.0030.00316.51
7.4.270.0030.00316.51
7.4.260.0000.00716.40
7.4.250.0000.00816.50
7.4.240.0030.00316.47
7.4.230.0030.00316.64
7.4.220.0160.00716.55
7.4.210.0090.00916.44
7.4.200.0070.00016.41
7.4.160.0130.01016.31
7.4.150.0070.01117.40
7.4.140.0140.01617.86
7.4.130.0080.00816.43
7.4.120.0140.00616.45
7.4.110.0130.01316.45
7.4.100.0110.01016.66
7.4.90.0060.01116.59
7.4.80.0090.01219.39
7.4.70.0110.00716.63
7.4.60.0060.01016.64
7.4.50.0000.00416.47
7.4.40.0100.00616.17
7.4.30.0130.01016.65
7.4.00.0080.00014.71
7.3.330.0000.00513.26
7.3.320.0050.00013.05
7.3.310.0000.00716.13
7.3.300.0030.00316.30
7.3.290.0030.01016.24
7.3.280.0090.00916.26
7.3.270.0100.00717.40
7.3.260.0150.00616.60
7.3.250.0130.01216.25
7.3.240.0100.00916.30
7.3.230.0060.01316.39
7.3.210.0140.00616.34
7.3.200.0030.01319.39
7.3.190.0180.00416.41
7.3.180.0090.00616.30
7.3.170.0060.01316.29
7.3.160.0070.01016.32
7.3.120.0080.00314.91
7.3.10.0060.00316.58
7.3.00.0080.00616.48
7.2.330.0070.01016.52
7.2.320.0000.01716.58
7.2.310.0130.00316.57
7.2.300.0030.01316.62
7.2.290.0080.00816.55
7.2.130.0030.01016.93
7.2.120.0030.01016.95
7.2.110.0070.00316.71
7.2.100.0040.01116.80
7.2.90.0030.01016.85
7.2.80.0060.00316.45
7.2.70.0070.00716.86
7.2.60.0120.00216.61
7.2.50.0120.00316.59
7.2.40.0080.00416.90
7.2.30.0040.01116.74
7.2.20.0070.01016.71
7.2.10.0090.00616.98
7.2.00.0050.00918.15
7.1.250.0040.00415.90
7.1.200.0040.00715.37
7.1.100.0000.01517.94
7.1.70.0000.01016.89
7.1.60.0130.01319.70
7.1.50.0130.01316.76
7.1.00.0100.07022.35
7.0.200.0200.00314.69
7.0.140.0030.07021.94
7.0.60.0300.06719.93
7.0.50.0170.04717.93
7.0.40.0130.04020.04
7.0.30.0330.06320.16
7.0.20.0200.04020.19
7.0.10.0030.07720.08
7.0.00.0130.08320.25
5.6.280.0030.07321.16
5.6.210.0130.07720.54
5.6.200.0100.03318.15
5.6.190.0070.04020.39
5.6.180.0470.08020.42
5.6.170.0270.05020.39
5.6.160.0070.08720.47
5.6.150.0000.05018.19
5.6.140.0030.03718.15
5.6.130.0070.03718.13
5.6.120.0000.08321.02
5.6.110.0100.08321.01
5.6.100.0070.03721.00
5.6.90.0000.08721.10
5.6.80.0100.05320.28
5.5.350.0000.05720.34
5.5.340.0070.08017.98
5.5.330.0100.08020.27
5.5.320.0030.08320.38
5.5.310.0400.06720.24
5.5.300.0100.03718.07
5.5.290.0070.05017.91
5.5.280.0030.05320.88
5.5.270.0030.08020.89
5.5.260.0070.07020.89
5.5.250.0100.08320.57
5.5.240.0030.05720.27
5.4.450.0230.04734.72
5.4.440.0170.05033.05
5.4.430.0700.03332.19
5.4.420.0700.04332.19
5.4.410.0370.04332.19
5.4.400.0270.03732.19
5.4.390.0230.03732.19
5.4.380.0200.06018.75
5.4.370.0400.05718.79
5.4.360.0300.05018.59
5.4.350.0330.05718.74
5.4.340.0300.06018.77
5.4.320.0060.04312.50
5.4.310.0050.04112.50
5.4.300.0110.04812.50
5.4.290.0070.05812.50
5.4.280.0080.04812.40
5.4.270.0080.04412.39
5.4.260.0110.04812.39
5.4.250.0090.03812.39
5.4.240.0120.04712.39
5.4.230.0060.04512.39
5.4.220.0110.04312.39
5.4.210.0060.04112.39
5.4.200.0070.04412.39
5.4.190.0040.04412.38
5.4.180.0090.03912.38
5.4.170.0090.05112.39
5.4.160.0060.04512.39
5.4.150.0060.03812.39
5.4.140.0040.04312.07
5.4.130.0070.03612.06
5.4.120.0060.04212.02
5.4.110.0110.03612.01
5.4.100.0080.04312.01
5.4.90.0050.04312.01
5.4.80.0090.04512.01
5.4.70.0070.04112.01
5.4.60.0070.04012.01
5.4.50.0040.04212.00
5.4.40.0080.04012.00
5.4.30.0090.04311.99
5.4.20.0040.04111.99
5.4.10.0090.04312.00
5.4.00.0080.04811.48
5.3.290.0060.03812.80
5.3.280.0120.04612.71
5.3.270.0090.05412.73
5.3.260.0150.06212.72
5.3.250.0090.04912.71
5.3.240.0140.03612.72
5.3.230.0090.04112.71
5.3.220.0030.04712.68
5.3.210.0110.05012.68
5.3.200.0140.04712.68
5.3.190.0070.04712.68
5.3.180.0090.04312.67
5.3.170.0110.04912.67
5.3.160.0130.04412.68
5.3.150.0070.04312.67
5.3.140.0050.04912.66
5.3.130.0090.05012.66
5.3.120.0110.04312.66
5.3.110.0100.04312.66
5.3.100.0050.04812.13
5.3.90.0080.04212.11
5.3.80.0120.03712.10
5.3.70.0090.05012.10
5.3.60.0150.04112.08
5.3.50.0090.04512.03
5.3.40.0120.06412.03
5.3.30.0120.05511.99
5.3.20.0080.04711.77
5.3.10.0070.04911.73
5.3.00.0080.04811.72
5.2.170.0090.0399.22
5.2.160.0060.0409.23
5.2.150.0110.0359.22
5.2.140.0070.0399.22
5.2.130.0070.0399.18
5.2.120.0110.0349.18
5.2.110.0060.0389.19
5.2.100.0090.0319.18
5.2.90.0080.0349.18
5.2.80.0070.0329.18
5.2.70.0070.0429.18
5.2.60.0050.0349.13
5.2.50.0130.0289.10
5.2.40.0070.0309.08
5.2.30.0100.0349.05
5.2.20.0080.0319.04
5.2.10.0130.0318.95
5.2.00.0050.0348.81
5.1.60.0040.0348.09
5.1.50.0070.0338.09
5.1.40.0080.0328.07
5.1.30.0060.0358.42
5.1.20.0110.0318.45
5.1.10.0100.0278.16
5.1.00.0070.0348.17
5.0.50.0030.0256.64
5.0.40.0020.0226.50
5.0.30.0040.0366.32
5.0.20.0050.0236.29
5.0.10.0030.0236.26
5.0.00.0020.0356.25
4.4.90.0060.0204.78
4.4.80.0050.0194.75
4.4.70.0040.0204.75
4.4.60.0050.0184.75
4.4.50.0030.0234.77
4.4.40.0090.0314.71
4.4.30.0050.0224.76
4.4.20.0040.0154.84
4.4.10.0030.0174.85
4.4.00.0010.0284.76
4.3.110.0040.0164.67
4.3.100.0030.0164.67
4.3.90.0060.0204.63
4.3.80.0030.0284.58
4.3.70.0060.0164.63
4.3.60.0050.0184.63
4.3.50.0050.0184.63
4.3.40.0040.0294.54
4.3.30.0010.0193.28
4.3.20.0030.0183.26
4.3.10.0030.0183.21
4.3.00.0030.01732.09

preferences:
39.3 ms | 400 KiB | 5 Q