3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { public function test(array $x, $y=0); } interface Bar { public function test(array $x, $y, $z); } interface Baz extends Foo, Bar {} class Quux implements Baz { public function test(array $x, $y=0) { echo "works?"; } } $obj = new Quux; $obj->test([]);

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.0030.01316.63
8.3.50.0030.01218.17
8.3.40.0120.00318.54
8.3.30.0070.00718.74
8.3.20.0100.00320.21
8.3.10.0040.00423.52
8.3.00.0040.00423.66
8.2.180.0070.00716.50
8.2.170.0130.01022.96
8.2.160.0070.01322.25
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00420.62
8.2.120.0040.00426.35
8.2.110.0060.00319.19
8.2.100.0040.00717.80
8.2.90.0000.00819.05
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0000.00817.80
8.2.50.0040.00418.09
8.2.40.0000.00822.24
8.2.30.0050.00319.30
8.2.20.0000.00717.53
8.2.10.0000.00818.12
8.2.00.0070.00018.05
8.1.270.0040.01422.05
8.1.260.0080.00028.09
8.1.250.0000.00828.09
8.1.240.0060.00322.55
8.1.230.0040.00717.64
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0040.00417.25
8.1.180.0090.00018.10
8.1.170.0040.00418.66
8.1.160.0040.00420.58
8.1.150.0030.00318.76
8.1.140.0030.00719.48
8.1.130.0070.00017.69
8.1.120.0070.00017.42
8.1.110.0040.00417.30
8.1.100.0090.00017.29
8.1.90.0060.00317.38
8.1.80.0030.00617.30
8.1.70.0070.00017.46
8.1.60.0000.00717.46
8.1.50.0040.00417.50
8.1.40.0060.00317.39
8.1.30.0040.00417.64
8.1.20.0000.00717.56
8.1.10.0060.00317.30
8.1.00.0040.00417.34
8.0.300.0030.00618.77
8.0.290.0070.00016.63
8.0.280.0000.00718.33
8.0.270.0070.00017.21
8.0.260.0000.00717.12
8.0.250.0000.00716.88
8.0.240.0060.00016.98
8.0.230.0040.00416.86
8.0.220.0000.00816.82
8.0.210.0030.00316.81
8.0.200.0050.00216.94
8.0.190.0000.00816.98
8.0.180.0030.00516.98
8.0.170.0000.00816.94
8.0.160.0040.00416.87
8.0.150.0070.00316.93
8.0.140.0000.00716.87
8.0.130.0000.00613.23
8.0.120.0080.00016.93
8.0.110.0020.00516.75
8.0.100.0040.00416.84
8.0.90.0000.00716.96
8.0.80.0040.01116.90
8.0.70.0020.00516.77
8.0.60.0050.00316.93
8.0.50.0040.00417.01
8.0.30.0150.00517.04
8.0.20.0090.01417.40
8.0.10.0040.00416.85
8.0.00.0060.01116.70
7.4.330.0000.00516.74
7.4.320.0050.00216.51
7.4.300.0040.00416.44
7.4.290.0040.00416.45
7.4.280.0030.00516.55
7.4.270.0030.00316.39
7.4.260.0090.00016.43
7.4.250.0080.00016.39
7.4.240.0030.00316.45
7.4.230.0030.00316.27
7.4.220.0120.00616.52
7.4.210.0130.00016.57
7.4.200.0000.00716.53
7.4.160.0030.01316.44
7.4.150.0190.03717.40
7.4.140.0050.01317.86
7.4.130.0090.00916.48
7.4.120.0120.00716.41
7.4.110.0000.01816.40
7.4.100.0110.01116.57
7.4.90.0140.00316.57
7.4.80.0130.00319.39
7.4.70.0040.01416.63
7.4.60.0070.01016.59
7.4.50.0090.00616.26
7.4.40.0160.00016.69
7.4.30.0110.00816.54
7.4.00.0060.01014.87
7.3.330.0000.00513.06
7.3.320.0000.00613.20
7.3.310.0000.00816.20
7.3.300.0000.00616.11
7.3.290.0060.01016.24
7.3.280.0100.00916.24
7.3.270.0000.01617.40
7.3.260.0100.00716.43
7.3.250.0140.00616.24
7.3.240.0090.01016.27
7.3.230.0230.00016.53
7.3.210.0130.00316.22
7.3.200.0070.01019.39
7.3.190.0080.00816.30
7.3.180.0130.00316.38
7.3.170.0050.01216.31
7.3.160.0060.00916.54
7.3.120.0030.01614.52
7.3.110.0030.01014.63
7.3.100.0060.00914.86
7.3.90.0090.00314.78
7.3.80.0060.00614.70
7.3.70.0040.00714.79
7.3.60.0060.00614.77
7.3.50.0110.00714.70
7.3.40.0050.00514.59
7.3.30.0090.00314.54
7.3.20.0080.00416.70
7.3.10.0000.01416.52
7.3.00.0060.00616.64
7.2.330.0060.01216.32
7.2.320.0150.00316.46
7.2.310.0070.01016.38
7.2.300.0070.01016.32
7.2.290.0100.00716.45
7.2.250.0150.00415.00
7.2.240.0030.01715.01
7.2.230.0030.01314.81
7.2.220.0070.00414.92
7.2.210.0030.01014.98
7.2.200.0060.00914.91
7.2.190.0000.01515.03
7.2.180.0000.01114.72
7.2.170.0110.00314.88
7.2.110.0270.00515.99
7.2.60.0040.01116.63
7.2.00.0000.01019.27
7.1.330.0000.01515.77
7.1.320.0070.00315.66
7.1.310.0030.00715.66
7.1.300.0070.01015.45
7.1.290.0060.00315.85
7.1.280.0060.00615.73
7.1.270.0030.00715.71
7.1.260.0090.00315.68
7.1.200.0150.00015.21
7.1.100.0060.00618.04
7.1.70.0000.00816.70
7.1.60.0100.01419.40
7.1.50.0040.00716.89
7.1.00.0000.07022.37
7.0.200.0050.00516.36
7.0.60.0170.03321.74
7.0.50.0170.07317.91
7.0.40.0030.05020.21
7.0.30.0270.03720.07
7.0.20.0170.04720.10
7.0.10.0070.05720.06
7.0.00.0030.04020.25
5.6.280.0000.05721.03
5.6.210.0130.05720.52
5.6.200.0070.06018.18
5.6.190.0000.05020.41
5.6.180.0330.06720.55
5.6.170.0200.04320.44
5.6.160.0030.08720.54
5.6.150.0070.05718.14
5.6.140.0100.07318.18
5.6.130.0000.05318.29
5.6.120.0030.08021.04
5.6.110.0100.07321.12
5.6.100.0100.08721.13
5.6.90.0130.07720.98
5.6.80.0070.07020.52
5.5.350.0230.07320.41
5.5.340.0000.04717.99
5.5.330.0030.08720.28
5.5.320.0630.04720.30
5.5.310.0330.07720.26
5.5.300.0000.05018.05
5.5.290.0000.05317.95
5.5.280.0130.07320.78
5.5.270.0000.05720.89
5.5.260.0100.07720.90
5.5.250.0170.07020.57
5.5.240.0230.06720.30

preferences:
60.2 ms | 400 KiB | 5 Q