3v4l.org

run code in 300+ PHP versions simultaneously
<?php class faz {} class baz extends faz {} interface foo { public function do(faz $param); } class boo implements foo { public function do(baz $param) { echo false; } } $test = new boo(); $test->do(new baz());

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.0060.00916.63
8.3.50.0140.00522.05
8.3.40.0110.00418.67
8.3.30.0070.00718.92
8.3.20.0070.00020.35
8.3.10.0050.00323.53
8.3.00.0080.00022.40
8.2.180.0070.01116.38
8.2.170.0080.00822.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0060.01326.16
8.2.120.0070.00022.23
8.2.110.0040.00422.18
8.2.100.0070.00417.59
8.2.90.0000.00819.23
8.2.80.0080.00017.97
8.2.70.0000.01117.34
8.2.60.0000.00817.80
8.2.50.0040.00418.07
8.2.40.0040.00418.22
8.2.30.0040.00418.03
8.2.20.0000.00717.56
8.2.10.0070.00019.27
8.2.00.0060.00317.46
8.1.280.0110.00425.92
8.1.270.0050.00323.96
8.1.260.0050.00526.35
8.1.250.0080.00028.09
8.1.240.0090.00023.92
8.1.230.0040.00818.92
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0040.00417.22
8.1.190.0000.00917.28
8.1.180.0000.00818.10
8.1.170.0080.00018.55
8.1.160.0020.00522.00
8.1.150.0050.00318.53
8.1.140.0000.00717.29
8.1.130.0030.00317.72
8.1.120.0000.00717.43
8.1.110.0030.00317.43
8.1.100.0040.00417.32
8.1.90.0000.00717.26
8.1.80.0030.00317.29
8.1.70.0030.00617.40
8.1.60.0040.00417.54
8.1.50.0080.00017.34
8.1.40.0040.00417.34
8.1.30.0080.00017.57
8.1.20.0000.00717.57
8.1.10.0000.00717.36
8.1.00.0030.00517.38
8.0.300.0080.00018.77
8.0.290.0000.00817.16
8.0.280.0000.00718.38
8.0.270.0050.00217.19
8.0.260.0000.00716.81
8.0.250.0070.00016.99
8.0.240.0030.00616.93
8.0.230.0000.00816.88
8.0.220.0000.00716.89
8.0.210.0000.00716.86
8.0.200.0030.00616.95
8.0.190.0030.00316.97
8.0.180.0070.00016.79
8.0.170.0080.00016.95
8.0.160.0070.00016.95
8.0.150.0040.00416.86
8.0.140.0000.00716.81
8.0.130.0030.00313.35
8.0.120.0040.00416.88
8.0.110.0070.00016.91
8.0.100.0040.00416.92
8.0.90.0000.00816.84
8.0.80.0060.00916.76
8.0.70.0050.00216.92
8.0.60.0040.00416.84
8.0.50.0040.00416.89
8.0.30.0130.01216.92
8.0.20.0110.00817.40
8.0.10.0000.00816.87
8.0.00.0080.01116.74
7.4.330.0000.00615.00
7.4.320.0030.00316.54
7.4.300.0030.00316.48
7.4.290.0070.00016.54
7.4.280.0040.00416.33
7.4.270.0070.00016.58
7.4.260.0000.00716.52
7.4.250.0000.00716.39
7.4.240.0030.00316.51
7.4.230.0040.00416.51
7.4.220.0040.01516.56
7.4.210.0070.00716.43
7.4.200.0040.00416.23
7.4.190.0000.00716.70
7.4.160.0090.00616.52
7.4.150.0090.00917.40
7.4.140.0080.01017.86
7.4.130.0080.00816.32
7.4.120.0100.00716.39
7.4.110.0100.00716.50
7.4.100.0070.01316.46
7.4.90.0000.01716.43
7.4.80.0070.01419.39
7.4.70.0100.01416.20
7.4.60.0070.01316.43
7.4.50.0040.00016.21
7.4.40.0070.00722.77
7.4.30.0130.00316.46
7.4.00.0070.00715.14
7.3.330.0050.00013.33
7.3.320.0020.00213.11
7.3.310.0040.00416.20
7.3.300.0070.00016.24
7.3.290.0040.01116.32
7.3.280.0070.01016.26
7.3.270.0110.01117.40
7.3.260.0170.00716.36
7.3.250.0130.00516.38
7.3.240.0080.00816.37
7.3.230.0030.01316.39
7.3.210.0100.00716.21
7.3.200.0060.01119.39
7.3.190.0110.00716.23
7.3.180.0060.01016.48
7.3.170.0150.00616.27
7.3.160.0040.01216.38
7.3.120.0030.01314.41
7.2.330.0000.01616.58
7.2.320.0100.00716.27
7.2.310.0060.01216.54
7.2.300.0070.01116.40
7.2.290.0090.01316.60
7.2.60.0100.00616.88
7.2.00.0000.01519.30
7.1.200.0060.01015.60
7.1.100.0030.01017.67
7.1.70.0070.00016.93
7.1.60.0070.01719.29
7.1.50.0070.01416.95
7.1.00.0000.08022.46
7.0.200.0040.00716.75
7.0.140.0130.06322.12
7.0.60.0070.08319.93
7.0.50.0030.05317.84
7.0.40.0130.04019.96
7.0.30.0470.05320.10
7.0.20.0230.09020.25
7.0.10.0030.04320.30
7.0.00.0070.05320.16
5.6.210.0100.07720.69
5.6.200.0130.07718.16
5.6.190.0100.04320.44
5.6.180.0300.04720.38
5.6.170.0300.07020.44
5.6.160.0070.07320.48
5.6.150.0070.08318.16
5.6.140.0070.08318.22
5.6.130.0070.04018.28
5.6.120.0070.05721.10
5.6.110.0170.07320.96
5.6.100.0130.06720.88
5.6.90.0130.08321.13
5.6.80.0130.07020.38
5.5.350.0000.04020.33
5.5.340.0070.08017.99
5.5.330.0130.07720.41
5.5.320.3070.04320.27
5.5.310.0200.04020.32
5.5.300.0100.08018.08
5.5.290.0030.08017.98
5.5.280.0070.04320.88
5.5.270.0070.04020.89
5.5.260.0200.07320.76
5.5.250.0100.07720.58
5.5.240.0270.07020.26
5.4.450.0600.03319.41
5.4.440.0600.07719.20
5.4.430.0170.05019.70
5.4.420.0670.04319.47
5.4.410.0600.06319.35
5.4.400.0670.06019.26
5.4.390.0330.05719.26
5.4.380.0130.05318.79
5.4.370.0170.05018.62
5.4.360.0070.05718.59
5.4.350.0100.06018.51
5.4.340.0100.06718.75
5.4.320.0120.04212.52
5.4.310.0100.03812.51
5.4.300.0070.03912.52
5.4.290.0070.04112.51
5.4.280.0060.04212.41
5.4.270.0070.03712.40
5.4.260.0060.04212.40
5.4.250.0050.03812.39
5.4.240.0060.03612.39
5.4.230.0040.04112.38
5.4.220.0070.03512.38
5.4.210.0100.03112.38
5.4.200.0070.03812.38
5.4.190.0080.03512.38
5.4.180.0040.03912.38
5.4.170.0070.03512.38
5.4.160.0060.03512.38
5.4.150.0050.03712.37
5.4.140.0090.03312.07
5.4.130.0060.04312.05
5.4.120.0100.03212.01
5.4.110.0060.03612.00
5.4.100.0060.04812.01
5.4.90.0100.03312.00
5.4.80.0050.03812.00
5.4.70.0070.03812.00
5.4.60.0040.03612.00
5.4.50.0060.03412.00
5.4.40.0060.03311.98
5.4.30.0040.03711.98
5.4.20.0050.03611.98
5.4.10.0060.03411.98
5.4.00.0070.04511.48
5.3.290.0050.04012.80
5.3.280.0080.03612.71
5.3.270.0080.03712.73
5.3.260.0060.03812.72
5.3.250.0050.04612.72
5.3.240.0070.03612.72
5.3.230.0030.04112.70
5.3.220.0060.03712.68
5.3.210.0050.04212.68
5.3.200.0070.03612.68
5.3.190.0080.03512.68
5.3.180.0090.03312.67
5.3.170.0070.04012.67
5.3.160.0070.03712.68
5.3.150.0100.03312.67
5.3.140.0020.04212.66
5.3.130.0050.03912.66
5.3.120.0040.04612.66
5.3.110.0080.03712.66
5.3.100.0070.03612.12
5.3.90.0040.03812.09
5.3.80.0070.03612.07
5.3.70.0090.03312.08
5.3.60.0100.03112.07
5.3.50.0100.03312.01
5.3.40.0050.03612.01
5.3.30.0100.03011.98
5.3.20.0080.03211.75
5.3.10.0100.03011.71
5.3.00.0070.03611.70
5.2.170.0070.0309.21
5.2.160.0060.0349.21
5.2.150.0040.0319.21
5.2.140.0060.0339.21
5.2.130.0030.0319.17
5.2.120.0030.0319.16
5.2.110.0090.0299.17
5.2.100.0060.0289.18
5.2.90.0050.0299.17
5.2.80.0050.0359.16
5.2.70.0060.0299.16
5.2.60.0060.0289.11
5.2.50.0050.0339.09
5.2.40.0080.0259.06
5.2.30.0040.0309.04
5.2.20.0040.0369.04
5.2.10.0040.0288.94
5.2.00.0050.0298.79
5.1.60.0050.0238.09
5.1.50.0040.0258.07
5.1.40.0070.0218.07
5.1.30.0020.0318.41
5.1.20.0030.0288.44
5.1.10.0030.0268.16
5.1.00.0080.0218.16
5.0.50.0050.0196.64
5.0.40.0020.0206.49
5.0.30.0040.0306.31
5.0.20.0010.0216.28
5.0.10.0020.0216.25
5.0.00.0030.0336.25
4.4.90.0000.0194.78
4.4.80.0030.0154.76
4.4.70.0020.0164.75
4.4.60.0020.0164.75
4.4.50.0040.0144.77
4.4.40.0020.0254.71
4.4.30.0010.0164.76
4.4.20.0050.0134.84
4.4.10.0050.0154.85
4.4.00.0030.0254.76
4.3.110.0010.0214.67
4.3.100.0010.0174.66
4.3.90.0050.0154.64
4.3.80.0040.0234.58
4.3.70.0030.0144.63
4.3.60.0010.0174.63
4.3.50.0020.0164.63
4.3.40.0040.0234.54
4.3.30.0020.0213.29
4.3.20.0030.0183.27
4.3.10.0020.0153.23
4.3.00.0000.01713.43

preferences:
41.37 ms | 400 KiB | 5 Q