3v4l.org

run code in 300+ PHP versions simultaneously
<?php class faz {} class baz extends faz {} interface foo { public function doit(faz $param); } class boo implements foo { public function doit(baz $param) { echo false; } } $test = new boo(); $test->doit(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.40.0040.01118.75
8.3.30.0160.00318.46
8.3.20.0040.00418.78
8.3.10.0080.00020.56
8.3.00.0000.00819.25
8.2.170.0110.01122.96
8.2.160.0100.00320.82
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0080.00019.02
8.2.110.0030.00621.24
8.2.100.0070.00417.84
8.2.90.0030.00619.17
8.2.80.0060.00317.97
8.2.70.0050.00317.50
8.2.60.0080.00017.80
8.2.50.0030.00618.07
8.2.40.0060.00317.97
8.2.30.0030.00617.96
8.2.20.0040.00417.48
8.2.10.0000.00817.62
8.2.00.0000.00817.67
8.1.270.0070.00024.66
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0030.00621.20
8.1.230.0120.00017.42
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0040.00717.23
8.1.190.0080.00017.23
8.1.180.0040.00418.10
8.1.170.0000.00718.74
8.1.160.0030.00618.74
8.1.150.0000.01018.58
8.1.140.0040.00417.44
8.1.130.0030.00317.80
8.1.120.0000.00717.29
8.1.110.0040.00417.28
8.1.100.0070.00017.28
8.1.90.0000.00717.43
8.1.80.0000.00717.41
8.1.70.0000.00717.29
8.1.60.0000.00817.50
8.1.50.0060.00317.39
8.1.40.0050.00317.30
8.1.30.0040.00417.58
8.1.20.0040.00417.54
8.1.10.0000.00817.28
8.1.00.0030.00617.34
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0000.00718.36
8.0.270.0000.00717.19
8.0.260.0040.00416.82
8.0.250.0040.00416.85
8.0.240.0040.00416.92
8.0.230.0030.00316.84
8.0.220.0000.00716.80
8.0.210.0080.00016.87
8.0.200.0000.00616.97
8.0.190.0030.00316.99
8.0.180.0040.00416.92
8.0.170.0060.00316.89
8.0.160.0000.00716.78
8.0.150.0000.00916.86
8.0.140.0120.00016.87
8.0.130.0060.00013.28
8.0.120.0040.00416.74
8.0.110.0070.00016.87
8.0.100.0040.00416.79
8.0.90.0000.00716.75
8.0.80.0150.00016.93
8.0.70.0030.00616.95
8.0.60.0000.00716.76
8.0.50.0000.00716.85
8.0.30.0090.00916.95
8.0.20.0120.00917.04
8.0.10.0070.00016.83
8.0.00.0110.01016.57
7.4.330.0000.00512.82
7.4.320.0030.00316.56
7.4.300.0000.00616.43
7.4.290.0090.00016.51
7.4.280.0030.00516.55
7.4.270.0040.00416.43
7.4.260.0000.00613.25
7.4.250.0050.00316.44
7.4.240.0020.00516.44
7.4.230.0000.00716.37
7.4.220.0100.00616.44
7.4.210.0110.00516.47
7.4.200.0030.00416.44
7.4.190.0040.00416.47
7.4.160.0100.00516.50
7.4.150.0120.00616.39
7.4.140.0110.00716.47
7.4.130.0120.00516.38
7.4.120.0070.01016.44
7.4.110.0100.00716.34
7.4.100.0030.01416.42
7.4.90.0060.01616.30
7.4.80.0100.01319.39
7.4.70.0040.01416.39
7.4.60.0080.00816.36
7.4.50.0090.00416.23
7.4.40.0030.01316.62
7.4.30.0070.01016.46
7.4.00.0050.01114.97
7.3.330.0070.00013.03
7.3.320.0030.00313.07
7.3.310.0030.00316.13
7.3.300.0070.00016.29
7.3.290.0130.00616.21
7.3.280.0070.00916.21
7.3.270.0120.00616.12
7.3.260.0110.00716.21
7.3.250.0090.01016.31
7.3.240.0090.00616.23
7.3.230.0100.01016.22
7.3.210.0130.01116.40
7.3.200.0110.00616.34
7.3.190.0170.00616.46
7.3.180.0100.00616.35
7.3.170.0110.00516.28
7.3.160.0060.00916.60
7.3.120.0100.00814.83
7.3.110.0030.01315.02
7.3.100.0040.01114.78
7.3.90.0100.01014.85
7.3.80.0000.01314.64
7.3.70.0030.01014.77
7.3.60.0050.00514.81
7.3.50.0080.00814.62
7.3.40.0060.00614.52
7.3.30.0110.00414.82
7.3.20.0030.01016.67
7.3.10.0030.00816.65
7.3.00.0000.01316.46
7.2.330.0060.01216.36
7.2.320.0090.00916.54
7.2.310.0140.00516.40
7.2.300.0120.00916.62
7.2.290.0100.01016.66
7.2.250.0070.01315.06
7.2.240.0100.01014.80
7.2.230.0040.01114.61
7.2.220.0060.01214.89
7.2.210.0030.01015.00
7.2.200.0000.01614.83
7.2.190.0090.00614.76
7.2.180.0110.00415.02
7.2.170.0000.01514.97
7.2.80.0030.01316.29
7.2.60.0000.01316.51
7.2.00.0060.00919.31
7.1.330.0060.00915.33
7.1.320.0070.01115.82
7.1.310.0040.00715.95
7.1.300.0110.00015.73
7.1.290.0040.00715.76
7.1.280.0070.00715.63
7.1.270.0060.00315.71
7.1.260.0000.01215.72
7.1.200.0030.01015.50
7.1.100.0040.01218.07
7.1.70.0000.01117.15
7.1.60.0140.01119.40
7.1.50.0040.00816.86
7.1.00.0030.07322.36
7.0.200.0040.00416.46
7.0.140.0000.07722.15
7.0.120.0070.07022.25
7.0.60.0030.04319.78
7.0.50.0070.08017.72
7.0.40.0070.04717.84
7.0.30.0130.06317.82
7.0.20.0070.08317.84
7.0.10.0200.04717.68
7.0.00.0030.06317.93
5.6.210.0030.09020.55
5.6.200.0030.06318.23
5.6.190.0070.09318.19
5.6.180.0070.06018.16
5.6.170.0070.05318.21
5.6.160.0030.05318.17
5.6.150.0070.08018.16
5.6.140.0070.06018.21
5.6.130.0030.05718.16
5.6.120.0200.05318.15
5.6.110.0070.04718.18
5.6.100.0130.07318.17
5.6.90.0170.04018.13
5.6.80.0100.05717.61
5.6.70.0100.07317.66
5.6.60.0070.05317.50
5.6.50.0070.06717.67
5.6.40.0070.07017.64
5.6.30.0070.07717.52
5.6.20.0100.06317.52
5.6.10.0030.07717.54
5.6.00.0100.07317.53
5.5.350.0000.05020.41
5.5.340.0130.07317.99
5.5.330.0070.05017.99
5.5.320.0070.08017.99
5.5.310.0070.08317.97
5.5.300.0070.05317.98
5.5.290.0100.07017.96
5.5.280.0030.07718.01
5.5.270.0100.06317.95
5.5.260.0200.07318.07
5.5.250.0070.08317.83
5.5.240.0030.04017.47
5.5.230.0100.06717.30
5.5.220.0100.07317.41
5.5.210.0070.08017.33
5.5.200.0030.04317.45
5.5.190.0030.08017.30
5.5.180.0030.05317.28
5.5.160.0070.06317.31
5.5.150.0100.06017.28
5.5.140.0070.05717.32
5.5.130.0070.06017.39
5.5.120.0170.02717.43
5.5.110.0100.06717.39
5.5.100.0100.07017.33
5.5.90.0030.04017.22
5.5.80.0070.07717.33
5.5.70.0130.03717.32
5.5.60.0170.06717.19
5.5.50.0070.08017.18
5.5.40.0030.07017.23
5.5.30.0170.02717.32
5.5.20.0030.08717.32
5.5.10.0030.08017.22
5.5.00.0130.07017.21
5.4.450.0100.05319.43
5.4.440.0070.05719.29
5.4.430.0030.05019.45
5.4.420.0030.08019.30
5.4.410.0100.05719.29
5.4.400.0070.08019.12
5.4.390.0030.05719.05
5.4.380.0070.07319.05
5.4.370.0070.05318.96
5.4.360.0000.05718.95
5.4.350.0030.08019.05
5.4.340.0100.07319.14
5.4.320.0100.05719.02
5.4.310.0070.03719.05
5.4.300.0130.03019.03
5.4.290.0100.07319.15
5.4.280.0100.03319.05
5.4.270.0100.07719.05
5.4.260.0070.07319.05
5.4.250.0070.05718.95
5.4.240.0070.07719.11
5.4.230.0030.07319.05
5.4.220.0100.04319.12
5.4.210.0030.05019.09
5.4.200.0030.08719.04
5.4.190.0130.07319.11
5.4.180.0030.04718.94
5.4.170.0100.07019.26
5.4.160.0030.05719.08
5.4.150.0130.06018.99
5.4.140.0070.06716.64
5.4.130.0130.07016.45
5.4.120.0070.03716.34
5.4.110.0100.06716.40
5.4.100.0030.04016.50
5.4.90.0070.07016.36
5.4.80.0070.07716.48
5.4.70.0070.07016.52
5.4.60.0100.07316.53
5.4.50.0030.06316.37
5.4.40.0100.04016.43
5.4.30.0070.04016.38
5.4.20.0100.05316.39
5.4.10.0100.04316.45
5.4.00.0070.04015.87
5.3.290.0000.05314.70
5.3.280.0070.07714.61
5.3.270.0070.06714.66
5.3.260.0000.05314.82
5.3.250.0170.07014.56
5.3.240.0070.07014.57
5.3.230.0070.04314.64
5.3.220.0070.08014.54
5.3.210.0070.07714.55
5.3.200.0070.08014.79
5.3.190.0100.07714.57
5.3.180.0000.04714.55
5.3.170.0100.04314.78
5.3.160.0070.07014.62
5.3.150.0100.05314.63
5.3.140.0070.06714.58
5.3.130.0070.06014.50
5.3.120.0070.07714.61
5.3.110.0100.07014.60
5.3.100.0130.04013.89
5.3.90.0070.07313.98
5.3.80.0100.04014.02
5.3.70.0070.04713.93
5.3.60.0100.05014.05
5.3.50.0100.04013.96
5.3.40.0100.03714.00
5.3.30.0070.03314.13
5.3.20.0130.05013.80
5.3.10.0030.04713.68
5.3.00.0170.06013.68
5.2.170.0030.07011.25
5.2.160.0100.03711.04
5.2.150.0070.06011.04
5.2.140.0100.03711.11
5.2.130.0070.06011.17
5.2.120.0100.04311.19
5.2.110.0070.03311.16
5.2.100.0100.06311.15
5.2.90.0070.06311.20
5.2.80.0030.05011.19
5.2.70.0070.05311.11
5.2.60.0070.05011.10
5.2.50.0000.05310.87
5.2.40.0100.06011.02
5.2.30.0100.05310.97
5.2.20.0070.05711.03
5.2.10.0000.04310.77
5.2.00.0170.03710.77
5.1.60.0100.03310.07
5.1.50.0070.0479.99
5.1.40.0070.0579.92
5.1.30.0070.04710.29
5.1.20.0070.05310.46
5.1.10.0070.05310.29
5.1.00.0070.04010.19
5.0.50.0070.0338.63
5.0.40.0030.0478.45
5.0.30.0030.0678.20
5.0.20.0070.0408.21
5.0.10.0030.0438.18
5.0.00.0000.0378.23
4.4.90.0070.0177.84
4.4.80.0000.0307.84
4.4.70.0070.0307.84
4.4.60.0000.0407.84
4.4.50.0070.0337.84
4.4.40.0030.0477.84
4.4.30.0030.0177.84
4.4.20.0000.0337.84
4.4.10.0030.0337.84
4.4.00.0000.0607.84
4.3.110.0070.0307.84
4.3.100.0030.0307.84
4.3.90.0030.0277.84
4.3.80.0070.0377.84
4.3.70.0000.0407.84
4.3.60.0030.0237.84
4.3.50.0000.0237.84
4.3.40.0070.0207.84
4.3.30.0000.0237.84
4.3.20.0000.0177.84
4.3.10.0000.0177.84
4.3.00.0000.0177.84

preferences:
43.75 ms | 400 KiB | 5 Q