3v4l.org

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

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.0120.00616.63
8.3.50.0100.01016.29
8.3.40.0070.00718.50
8.3.30.0060.00918.57
8.3.20.0030.00620.14
8.3.10.0070.00023.66
8.3.00.0030.00522.12
8.2.180.0070.00716.63
8.2.170.0100.01022.96
8.2.160.0120.00318.91
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00421.13
8.2.120.0060.00326.35
8.2.110.0080.00322.04
8.2.100.0110.00017.59
8.2.90.0110.00018.88
8.2.80.0040.00417.97
8.2.70.0060.00317.38
8.2.60.0050.00317.92
8.2.50.0000.00818.10
8.2.40.0000.00720.40
8.2.30.0000.00720.97
8.2.20.0050.00517.91
8.2.10.0000.00717.96
8.2.00.0000.00717.96
8.1.280.0140.00325.92
8.1.270.0040.00422.24
8.1.260.0050.00326.35
8.1.250.0030.00528.09
8.1.240.0050.00322.06
8.1.230.0080.00323.86
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0060.00317.00
8.1.190.0040.00417.11
8.1.180.0050.00318.10
8.1.170.0040.00418.65
8.1.160.0000.00718.94
8.1.150.0000.00718.69
8.1.140.0030.00619.52
8.1.130.0030.00318.74
8.1.120.0000.00717.41
8.1.110.0000.00917.31
8.1.100.0050.00317.41
8.1.90.0000.00717.30
8.1.80.0000.00717.39
8.1.70.0000.00717.22
8.1.60.0000.00817.54
8.1.50.0080.00017.48
8.1.40.0040.00417.33
8.1.30.0070.00017.47
8.1.20.0000.00817.63
8.1.10.0000.00817.41
8.1.00.0000.00717.26
8.0.300.0070.00018.77
8.0.290.0060.00316.58
8.0.280.0070.00018.29
8.0.270.0040.00317.18
8.0.260.0000.00616.69
8.0.250.0070.00016.90
8.0.240.0000.00716.89
8.0.230.0070.00016.89
8.0.220.0020.00516.84
8.0.210.0000.00716.82
8.0.200.0030.00316.92
8.0.190.0060.00316.75
8.0.180.0030.00516.85
8.0.170.0000.00716.78
8.0.160.0040.00416.90
8.0.150.0000.00716.65
8.0.140.0000.00716.76
8.0.130.0050.00013.24
8.0.120.0050.00216.78
8.0.110.0070.00016.77
8.0.100.0050.00216.71
8.0.90.0040.00416.62
8.0.80.0080.00816.78
8.0.70.0030.00516.88
8.0.60.0000.00816.69
8.0.50.0000.00716.61
8.0.30.0070.01016.98
8.0.20.0120.00817.40
8.0.10.0000.00716.84
8.0.00.0150.00316.66
7.4.330.0030.00315.55
7.4.320.0030.00316.54
7.4.300.0060.00016.44
7.4.290.0080.00016.52
7.4.280.0050.00316.52
7.4.270.0000.00716.57
7.4.260.0070.00016.55
7.4.250.0070.00016.43
7.4.240.0030.00316.49
7.4.230.0030.00316.24
7.4.220.0000.01816.52
7.4.210.0050.00816.53
7.4.200.0030.00316.64
7.4.160.0110.00516.39
7.4.150.0100.00717.40
7.4.140.0100.00817.86
7.4.130.0140.00416.37
7.4.120.0090.01116.52
7.4.110.0070.01016.54
7.4.100.0090.00916.41
7.4.90.0090.00916.33
7.4.80.0150.00619.39
7.4.70.0100.00916.56
7.4.60.0100.00616.33
7.4.50.0000.01216.42
7.4.40.0000.01516.43
7.4.30.0110.00616.54
7.4.00.0120.00315.05
7.3.330.0000.00713.17
7.3.320.0040.00413.03
7.3.310.0000.00716.11
7.3.300.0070.00016.08
7.3.290.0040.00416.18
7.3.280.0070.01116.13
7.3.270.0060.01917.40
7.3.260.0120.00516.34
7.3.250.0080.01116.27
7.3.240.0080.00816.22
7.3.230.0040.01616.30
7.3.210.0060.01016.19
7.3.200.0050.01416.54
7.3.190.0170.00016.25
7.3.180.0080.00816.17
7.3.170.0070.01016.34
7.3.160.0060.01016.27
7.3.10.0130.00316.34
7.3.00.0100.00716.67
7.2.330.0110.01416.49
7.2.320.0090.00916.55
7.2.310.0100.00616.62
7.2.300.0100.00716.41
7.2.290.0000.01716.36
7.2.130.0070.00716.97
7.2.120.0040.01116.84
7.2.110.0000.01416.34
7.2.100.0000.01416.71
7.2.90.0030.01216.80
7.2.80.0030.00916.80
7.2.70.0090.00616.92
7.2.60.0040.01116.86
7.2.50.0000.01016.96
7.2.40.0080.00616.62
7.2.30.0090.00616.70
7.2.20.0040.00716.73
7.2.10.0090.00616.50
7.2.00.0090.00418.03
7.1.250.0030.00515.56
7.1.200.0000.01215.40
7.1.100.0030.00717.89
7.1.70.0140.01115.07
7.1.60.0360.01333.28
7.1.50.0650.01032.82
7.1.40.0320.01032.36
7.1.30.0300.01032.50
7.1.20.0420.00632.56
7.1.10.0150.00914.58
7.1.00.0150.00714.77
7.0.200.0130.01015.00
7.0.190.0190.00614.56
7.0.180.0180.00714.43
7.0.170.0210.00314.21
7.0.160.0210.01014.25
7.0.150.0210.00714.21
7.0.140.0130.01014.32
7.0.130.0190.00314.59
7.0.120.0100.01614.70
7.0.110.0200.00714.23
7.0.100.0170.00714.50
7.0.90.0120.01214.55
7.0.80.0170.00714.47
7.0.70.0120.00914.46
7.0.60.0110.01114.27
7.0.50.0200.00314.37
7.0.40.0240.00314.49
7.0.30.0150.00714.67
7.0.20.0190.00314.56
7.0.10.0150.00914.45
7.0.00.0160.00614.55

preferences:
37.73 ms | 401 KiB | 5 Q