3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { public function doFooBar($foo, $bar=null); } interface Bar extends Foo { public function doFooBar($foo, $bar=null, $derp=1); } class FooBar implements Bar { public function doFooBar($foo, $bar=null, $derp=1) { } } $d = new FooBar();

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.0120.00318.70
8.3.30.0100.00718.94
8.3.20.0040.00420.36
8.3.10.0080.00020.41
8.3.00.0000.00819.26
8.2.170.0170.00322.96
8.2.160.0030.01020.16
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00422.06
8.2.110.0030.00620.50
8.2.100.0080.00418.09
8.2.90.0050.00318.92
8.2.80.0030.00517.97
8.2.70.0050.00317.38
8.2.60.0050.00417.79
8.2.50.0030.00518.07
8.2.40.0000.00818.22
8.2.30.0030.00517.98
8.2.20.0040.00417.58
8.2.10.0000.00717.96
8.2.00.0030.00617.59
8.1.270.0060.00323.96
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0040.00423.83
8.1.230.0120.00018.98
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00717.35
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0090.00018.65
8.1.160.0040.00422.04
8.1.150.0050.00218.87
8.1.140.0040.00417.33
8.1.130.0030.00317.86
8.1.120.0050.00217.46
8.1.110.0000.00717.43
8.1.100.0050.00217.42
8.1.90.0000.00817.41
8.1.80.0000.00717.47
8.1.70.0050.00317.41
8.1.60.0000.01017.46
8.1.50.0000.00817.51
8.1.40.0040.00417.49
8.1.30.0080.00017.52
8.1.20.0040.00417.51
8.1.10.0000.00717.47
8.1.00.0100.00017.48
8.0.300.0030.00518.77
8.0.290.0090.00016.63
8.0.280.0070.00018.43
8.0.270.0070.00016.80
8.0.260.0060.00017.25
8.0.250.0000.00716.92
8.0.240.0000.00716.86
8.0.230.0070.00016.94
8.0.220.0070.00016.89
8.0.210.0040.00416.81
8.0.200.0000.00616.96
8.0.190.0050.00316.94
8.0.180.0050.00216.89
8.0.170.0040.00416.88
8.0.160.0000.00716.88
8.0.150.0070.00016.90
8.0.140.0030.00716.86
8.0.130.0040.00413.32
8.0.120.0000.00816.89
8.0.110.0040.00416.84
8.0.100.0040.00416.85
8.0.90.0000.00716.72
8.0.80.0110.00316.89
8.0.70.0040.00416.93
8.0.60.0050.00216.73
8.0.50.0000.00816.68
8.0.30.0080.01017.13
8.0.20.0130.01017.40
8.0.10.0080.00017.07
8.0.00.0090.00816.88
7.4.330.0000.00515.14
7.4.320.0000.00616.40
7.4.300.0000.00616.50
7.4.290.0000.00716.59
7.4.280.0030.00616.54
7.4.270.0000.00716.60
7.4.260.0050.00316.57
7.4.250.0030.00516.32
7.4.240.0020.00616.54
7.4.230.0000.00816.40
7.4.220.0150.00316.62
7.4.210.0090.01216.43
7.4.200.0040.00416.68
7.4.160.0130.00416.48
7.4.150.0170.00017.40
7.4.140.0110.01017.86
7.4.130.0070.01016.48
7.4.120.0130.00716.41
7.4.110.0110.01116.48
7.4.100.0060.01616.53
7.4.90.0120.00616.51
7.4.80.0120.01119.39
7.4.70.0140.00316.29
7.4.60.0060.01116.34
7.4.50.0060.00316.35
7.4.40.0130.00316.52
7.4.30.0060.01016.62
7.4.10.0090.00815.12
7.4.00.0050.01014.99
7.3.330.0000.00613.17
7.3.320.0050.00013.05
7.3.310.0000.00716.18
7.3.300.0030.00316.17
7.3.290.0030.01216.17
7.3.280.0090.00716.17
7.3.270.0130.00617.40
7.3.260.0090.00916.46
7.3.250.0100.00716.26
7.3.240.0140.00616.19
7.3.230.0110.00616.39
7.3.210.0180.00016.43
7.3.200.0120.00619.39
7.3.190.0120.00616.16
7.3.180.0060.00916.43
7.3.170.0130.00416.45
7.3.160.0030.01316.28
7.3.130.0080.01114.80
7.3.120.0050.01114.58
7.3.110.0050.01014.78
7.3.100.0060.01014.85
7.3.90.0070.00514.71
7.3.80.0060.00814.68
7.3.70.0050.00914.76
7.3.60.0060.00614.65
7.3.50.0050.00614.74
7.3.40.0060.00914.71
7.3.30.0060.00914.75
7.3.20.0060.00716.60
7.3.10.0060.00816.49
7.3.00.0060.00816.47
7.2.330.0090.00916.36
7.2.320.0070.01516.36
7.2.310.0140.00316.27
7.2.300.0070.01016.56
7.2.290.0030.01416.70
7.2.260.0070.01014.93
7.2.250.0060.01114.91
7.2.240.0070.00914.98
7.2.230.0050.01115.03
7.2.220.0080.00914.97
7.2.210.0070.00614.97
7.2.200.0060.00714.97
7.2.190.0060.00914.86
7.2.180.0070.00715.00
7.2.170.0080.00715.05
7.2.160.0020.01314.95
7.2.150.0120.00316.78
7.2.140.0050.01116.80
7.2.130.0070.00516.58
7.2.120.0040.00916.79
7.2.110.0070.00916.86
7.2.100.0060.01016.77
7.2.90.0080.00616.83
7.2.80.0020.01316.87
7.2.70.0080.00816.81
7.2.60.0090.00516.65
7.2.50.0070.00716.83
7.2.40.0060.00816.82
7.2.30.0070.00716.60
7.2.20.0090.00616.69
7.2.10.0040.01116.83
7.2.00.0080.00517.63
7.1.330.0070.00815.60
7.1.320.0060.00915.60
7.1.310.0040.00915.58
7.1.300.0020.01015.58
7.1.290.0080.00715.48
7.1.280.0070.00515.69
7.1.270.0060.00715.61
7.1.260.0040.01015.70
7.1.250.0100.00315.47
7.1.240.0010.01315.53
7.1.230.0050.01115.60
7.1.220.0080.01015.52
7.1.210.0050.00815.59
7.1.200.0070.00815.63
7.1.190.0090.00515.66
7.1.180.0030.01115.63
7.1.170.0090.00715.59
7.1.160.0100.00315.77
7.1.150.0070.00615.70
7.1.140.0070.00715.57
7.1.130.0020.01015.82
7.1.120.0040.00415.52
7.1.110.0030.01215.54
7.1.100.0060.00916.33
7.1.90.0000.01215.50
7.1.80.0060.01015.37
7.1.70.0020.00916.11
7.1.60.0070.00716.95
7.1.50.0050.01016.04
7.1.40.0090.00315.50
7.1.30.0070.00515.47
7.1.20.0040.00815.74
7.1.10.0060.00715.60
7.1.00.0020.03217.93
7.0.330.0030.00815.35
7.0.320.0030.00815.23
7.0.310.0050.00715.24
7.0.300.0060.00615.18
7.0.290.0050.00515.15
7.0.280.0000.01015.19
7.0.270.0060.00515.25
7.0.260.0070.00815.14
7.0.250.0080.00615.17
7.0.240.0100.00515.32
7.0.230.0040.00515.15
7.0.220.0090.00515.32
7.0.210.0080.00615.42
7.0.200.0040.00815.73
7.0.190.0040.00715.20
7.0.180.0040.00915.24
7.0.170.0020.00915.43
7.0.160.0090.00415.31
7.0.150.0040.00815.29
7.0.140.0020.02917.53
7.0.130.0070.00715.21
7.0.120.0070.00415.50
7.0.110.0100.00315.36
7.0.100.0070.00815.33
7.0.90.0070.00615.10
7.0.80.0070.00615.28
7.0.70.0060.00815.37
7.0.60.0050.03316.82
7.0.50.0070.02716.09
7.0.40.0060.01816.13
7.0.30.0210.02516.17
7.0.20.0110.02716.27
7.0.10.0090.03216.18
7.0.00.0060.03116.15
5.6.400.0060.00414.79
5.6.390.0050.01014.78
5.6.380.0050.00814.75
5.6.370.0140.00314.63
5.6.360.0100.00314.55
5.6.350.0080.00614.84
5.6.340.0090.00414.81
5.6.330.0000.00914.61
5.6.320.0030.01114.59
5.6.310.0050.00814.77
5.6.300.0030.00714.52
5.6.290.0070.00714.75
5.6.280.0090.02516.80
5.6.270.0080.00514.88
5.6.260.0030.01114.79
5.6.250.0070.00714.75
5.6.240.0020.00814.78
5.6.230.0050.01014.72
5.6.220.0030.01114.83
5.6.210.0050.02316.71
5.6.200.0070.01715.82
5.6.190.0090.03416.69
5.6.180.1300.02116.55
5.6.170.0070.02316.73
5.6.160.0090.02816.59
5.6.150.0060.02515.93
5.6.140.0020.01915.96
5.6.130.0070.01915.84
5.6.120.0050.02016.90
5.6.110.0080.03116.83
5.6.100.0070.03516.76
5.6.90.0100.03216.77
5.6.80.0030.02216.55
5.6.70.0030.00914.63
5.6.60.0050.01014.54
5.6.50.0050.00814.73
5.6.40.0060.00814.60
5.6.30.0050.01114.68
5.6.20.0050.00914.65
5.6.10.0040.00914.54
5.6.00.0080.00314.76
5.5.380.0050.00514.67
5.5.370.0090.00614.62
5.5.360.0050.00714.51
5.5.350.0150.01516.66
5.5.340.0080.02315.73
5.5.330.0090.01716.53
5.5.320.0130.02116.45
5.5.310.0120.02416.50
5.5.300.0070.03115.90
5.5.290.0020.03715.85
5.5.280.0030.02416.64
5.5.270.0030.02016.67
5.5.260.0050.01816.75
5.5.250.0080.03316.55
5.5.240.1130.02116.53
5.5.230.0030.01114.63
5.5.220.0060.00614.62
5.5.210.0050.00914.55
5.5.200.0050.01214.47
5.5.190.0050.00814.52
5.5.180.0110.00414.51
5.5.170.0090.00414.44
5.5.160.0060.00614.65
5.5.150.0060.00914.59
5.5.140.0030.01014.49
5.5.130.0030.01214.59
5.5.120.0090.00514.59
5.5.110.0070.00414.49
5.5.100.0060.00714.53
5.5.90.0110.00414.50
5.5.80.0060.00614.36
5.5.70.0070.00714.54
5.5.60.0070.00614.53
5.5.50.0060.00514.54
5.5.40.0050.00814.64
5.5.30.0060.00414.59
5.5.20.0070.00714.66
5.5.10.0040.00914.69
5.5.00.0080.00614.34
5.4.450.0080.02115.65
5.4.440.0120.02715.70
5.4.430.0130.02815.61
5.4.420.0120.02915.70
5.4.410.0100.02415.66
5.4.400.0080.02515.51
5.4.390.0090.03115.54
5.4.380.0060.03115.46
5.4.370.0080.02415.58
5.4.360.0080.02015.56
5.4.350.0090.02615.54
5.4.340.0140.02615.53
5.4.330.0030.00513.77
5.4.320.0090.03115.47
5.4.310.0100.02015.54
5.4.300.0100.02315.54
5.4.290.0100.02415.49
5.4.280.0100.02615.50
5.4.270.0100.02215.59
5.4.260.0070.02015.58
5.4.250.0090.02515.57
5.4.240.0070.01815.51
5.4.230.0100.03015.54
5.4.220.0080.02915.46
5.4.210.0040.02215.55
5.4.200.0090.02715.50
5.4.190.0060.01715.55
5.4.180.0050.03515.54
5.4.170.0100.03015.49
5.4.160.0100.02515.58
5.4.150.0130.01815.50
5.4.140.0050.03214.70
5.4.130.0080.02114.62
5.4.120.0100.02114.63
5.4.110.0110.02714.71
5.4.100.0150.02214.66
5.4.90.0110.01814.62
5.4.80.0100.01914.64
5.4.70.0100.02614.71
5.4.60.0110.02914.71
5.4.50.0110.01914.69
5.4.40.0080.02414.59
5.4.30.0100.02214.63
5.4.20.0080.01814.56
5.4.10.0090.02314.64
5.4.00.0110.01614.50
5.3.290.0200.07714.59
5.3.280.0200.06314.67
5.3.270.0230.07314.52
5.3.260.0230.06714.52
5.3.250.0230.07014.61
5.3.240.0200.07314.51
5.3.230.0170.04014.57
5.3.220.0270.03714.54
5.3.210.0270.06314.54
5.3.200.0200.05014.48
5.3.190.0130.05714.54
5.3.180.0170.05314.56
5.3.170.0300.04014.54
5.3.160.0170.05314.68
5.3.150.0130.06014.78
5.3.140.0230.04314.68
5.3.130.0100.05314.63
5.3.120.0130.04014.64
5.3.110.0170.03714.55
5.3.100.0300.06314.16
5.3.90.0230.07013.93
5.3.80.0230.07013.93
5.3.70.0170.07014.12
5.3.60.0170.06713.91
5.3.50.0300.04013.96
5.3.40.0130.04014.07
5.3.30.0230.06014.03
5.3.20.0230.06013.74
5.3.10.0230.03013.66
5.3.00.0130.03713.76
5.2.170.0200.04311.95
5.2.160.0100.03711.95
5.2.150.0170.06011.95
5.2.140.0100.06711.95
5.2.130.0170.03711.95
5.2.120.0200.02311.95
5.2.110.0230.02011.95
5.2.100.0130.03011.95
5.2.90.0200.03711.95
5.2.80.0100.03311.95
5.2.70.0100.03711.95
5.2.60.0130.02711.95
5.2.50.0100.03711.95
5.2.40.0100.02711.95
5.2.30.0070.03011.95
5.2.20.0070.03011.95
5.2.10.0130.05311.95
5.2.00.0130.04311.95
5.1.60.0130.03011.95
5.1.50.0170.02711.95
5.1.40.0100.02311.95
5.1.30.0070.02711.95
5.1.20.0070.02711.95
5.1.10.0030.03011.95
5.1.00.0030.03011.95
5.0.50.0100.01311.95
5.0.40.0030.02011.95
5.0.30.0070.03011.95
5.0.20.0030.02011.95
5.0.10.0070.02011.95
5.0.00.0030.03011.95
4.4.90.0070.01711.95
4.4.80.0070.01311.95
4.4.70.0030.01711.95
4.4.60.0070.01711.95
4.4.50.0070.01711.95
4.4.40.0030.02311.95
4.4.30.0030.01711.95
4.4.20.0070.01311.95
4.4.10.0070.01311.95
4.4.00.0030.02711.95
4.3.110.0070.01311.95
4.3.100.0030.01311.95
4.3.90.0070.01311.95
4.3.80.0070.02711.95
4.3.70.0000.01711.95
4.3.60.0030.01311.95
4.3.50.0100.01011.95
4.3.40.0030.02311.95
4.3.30.0030.01311.95
4.3.20.0000.01711.95
4.3.10.0030.01711.95
4.3.00.0030.01311.95

preferences:
36.3 ms | 400 KiB | 5 Q