3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Interface1 { public function test1 (array $arr1, array $arr2 = []); } interface Interface2 extends Interface1 { public function test1 (array $arr1); }

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.70.0060.00916.75
8.3.60.0100.01016.50
8.3.50.0140.00316.36
8.3.40.0080.00818.63
8.3.30.0110.00418.43
8.3.20.0090.00020.27
8.3.10.0040.00423.53
8.3.00.0040.00422.14
8.2.180.0030.01016.38
8.2.170.0140.00722.96
8.2.160.0110.00718.82
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00421.05
8.2.120.0080.00026.35
8.2.110.0040.00422.29
8.2.100.0000.01117.78
8.2.90.0080.00019.11
8.2.80.0000.00917.97
8.2.70.0070.00217.38
8.2.60.0040.00417.91
8.2.50.0050.00318.10
8.2.40.0000.00820.59
8.2.30.0040.00419.06
8.2.20.0070.00317.97
8.2.10.0040.00418.05
8.2.00.0040.00417.99
8.1.280.0160.00325.92
8.1.270.0000.00722.14
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00422.80
8.1.230.0110.00017.64
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0000.00917.21
8.1.190.0000.00717.23
8.1.180.0060.00318.10
8.1.170.0030.00518.33
8.1.160.0000.00718.89
8.1.150.0030.00618.69
8.1.140.0040.00419.43
8.1.130.0030.00518.72
8.1.120.0000.00717.34
8.1.110.0060.00317.21
8.1.100.0050.00317.29
8.1.90.0040.00417.27
8.1.80.0070.00017.28
8.1.70.0040.00417.39
8.1.60.0040.00417.41
8.1.50.0040.00417.44
8.1.40.0000.00917.50
8.1.30.0000.00717.50
8.1.20.0000.00717.47
8.1.10.0040.00517.35
8.1.00.0080.00017.32
8.0.300.0080.00018.77
8.0.290.0030.00516.75
8.0.280.0000.00718.29
8.0.270.0000.00717.13
8.0.260.0000.00716.72
8.0.250.0000.00616.90
8.0.240.0000.00716.94
8.0.230.0040.00416.81
8.0.220.0030.00316.88
8.0.210.0070.00016.91
8.0.200.0000.00616.96
8.0.190.0040.00416.95
8.0.180.0000.00716.84
8.0.170.0000.00916.91
8.0.160.0040.00416.98
8.0.150.0000.00916.89
8.0.140.0030.00316.86
8.0.130.0030.00313.24
8.0.120.0030.00516.86
8.0.110.0000.00716.94
8.0.100.0040.00416.82
8.0.90.0040.00416.88
8.0.80.0110.00916.95
8.0.70.0040.00416.70
8.0.60.0040.00416.68
8.0.50.0040.00316.88
8.0.30.0070.01016.93
8.0.20.0140.00717.40
8.0.10.0000.00717.00
8.0.00.0140.00816.87
7.4.330.0050.00015.55
7.4.320.0030.00316.49
7.4.300.0030.00316.34
7.4.290.0030.00316.43
7.4.280.0050.00316.33
7.4.270.0030.00316.51
7.4.260.0030.00316.40
7.4.250.0000.00716.41
7.4.240.0000.00816.41
7.4.230.0000.00716.31
7.4.220.0100.00716.41
7.4.210.0110.00516.55
7.4.200.0030.00316.33
7.4.160.0120.00616.44
7.4.150.0100.00717.40
7.4.140.0130.00717.86
7.4.130.0110.00616.55
7.4.120.0120.00916.47
7.4.110.0140.00716.50
7.4.100.0150.00316.24
7.4.90.0090.01216.43
7.4.80.0070.01419.39
7.4.70.0100.00616.58
7.4.60.0060.01316.48
7.4.50.0060.01016.25
7.4.40.0060.01016.58
7.4.30.0120.00616.15
7.4.00.0060.01114.80
7.3.330.0030.00313.09
7.3.320.0080.00013.25
7.3.310.0000.00716.13
7.3.300.0070.00016.25
7.3.290.0070.00016.09
7.3.280.0090.00916.21
7.3.270.0130.00417.40
7.3.260.0080.01016.44
7.3.250.0100.00916.41
7.3.240.0030.01616.54
7.3.230.0070.01116.25
7.3.210.0060.01016.32
7.3.200.0130.00716.36
7.3.190.0120.00416.46
7.3.180.0090.00616.46
7.3.170.0060.01016.42
7.3.160.0100.00616.23
7.3.120.0120.00314.98
7.3.110.0030.01614.67
7.3.100.0100.00314.73
7.3.90.0070.00414.75
7.3.80.0040.01114.50
7.3.70.0030.00814.75
7.3.60.0100.00714.68
7.3.50.0000.01414.64
7.3.40.0030.01014.76
7.3.30.0070.00714.79
7.3.20.0060.00616.69
7.3.10.0070.00716.56
7.3.00.0040.01116.65
7.2.330.0050.02016.22
7.2.320.0030.01616.49
7.2.310.0070.01016.57
7.2.300.0100.00716.30
7.2.290.0120.00316.40
7.2.250.0000.02015.14
7.2.240.0080.01114.52
7.2.230.0120.00314.55
7.2.220.0000.01314.81
7.2.210.0030.01314.88
7.2.200.0000.01414.84
7.2.190.0070.00714.94
7.2.180.0150.00014.51
7.2.170.0040.00814.94
7.2.60.0090.00316.87
7.1.330.0060.01115.37
7.1.320.0070.00715.44
7.1.310.0080.00815.75
7.1.300.0030.01215.63
7.1.290.0070.00715.84
7.1.280.0060.00615.46
7.1.270.0030.01015.62
7.1.260.0100.00315.70
7.1.200.0130.00015.75
7.1.100.0000.01117.86
7.1.70.0380.00915.08
7.1.60.0420.01133.10
7.1.50.0400.00932.82
7.1.40.0410.00932.41
7.1.30.0490.00332.66
7.1.20.1150.01932.68
7.1.10.0260.00514.57
7.1.00.0230.01314.86
7.0.200.0270.00714.96
7.0.190.0280.00714.64
7.0.180.0260.00714.34
7.0.170.0320.00714.42
7.0.160.0300.00314.22
7.0.150.0200.01014.18
7.0.140.0240.01514.29
7.0.130.0300.00414.42
7.0.120.0370.01214.57
7.0.110.0350.01114.24
7.0.100.0630.01614.55
7.0.90.0290.01314.38
7.0.80.0230.00914.61
7.0.70.0230.01014.38
7.0.60.0270.00614.17
7.0.50.0280.00514.19
7.0.40.0220.00914.71
7.0.30.0220.00814.68
7.0.20.0250.00614.48
7.0.10.0290.01014.41
7.0.00.0280.00314.38

preferences:
43.67 ms | 400 KiB | 5 Q