3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ['jk' => 1, 'kl' => 12]; $b = ['f', 'l']; print_r(array_combine($a, $b));

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.0060.01218.31
8.3.50.0110.00416.36
8.3.40.0050.00918.53
8.3.30.0080.00818.46
8.3.20.0040.01118.89
8.3.10.0070.00021.77
8.3.00.0090.00017.97
8.2.180.0090.01316.50
8.2.170.0080.00622.96
8.2.160.0130.00320.45
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0040.00420.28
8.2.120.0040.01126.35
8.2.110.0000.01021.18
8.2.100.0000.01117.72
8.2.90.0040.00421.07
8.2.80.0000.00820.54
8.2.70.0040.00417.38
8.2.60.0000.00817.80
8.2.50.0060.00318.10
8.2.40.0030.00522.27
8.2.30.0040.00419.16
8.2.20.0070.00018.04
8.2.10.0020.00518.02
8.2.00.0040.00417.91
8.1.280.0140.00425.92
8.1.270.0060.00323.84
8.1.260.0070.00026.35
8.1.250.0070.00728.09
8.1.240.0060.00322.07
8.1.230.0090.00320.89
8.1.220.0040.00417.74
8.1.210.0050.00318.86
8.1.200.0000.00917.22
8.1.190.0000.00817.22
8.1.180.0000.00918.10
8.1.170.0040.00418.66
8.1.160.0000.00718.91
8.1.150.0000.00718.85
8.1.140.0060.00619.42
8.1.130.0000.00718.89
8.1.120.0030.00317.38
8.1.110.0050.00317.33
8.1.100.0000.00817.41
8.1.90.0000.00717.39
8.1.80.0050.00317.30
8.1.70.0070.00017.38
8.1.60.0040.00417.51
8.1.50.0040.00417.37
8.1.40.0080.00017.47
8.1.30.0040.00417.58
8.1.20.0000.00717.46
8.1.10.0000.00717.39
8.1.00.0000.00717.25
8.0.300.0020.00520.07
8.0.290.0040.00416.75
8.0.280.0030.00318.37
8.0.270.0030.00317.19
8.0.260.0030.00316.74
8.0.250.0030.00316.78
8.0.240.0030.00516.77
8.0.230.0000.00716.77
8.0.220.0030.00316.71
8.0.210.0000.00716.80
8.0.200.0000.00716.95
8.0.190.0040.00416.75
8.0.180.0000.00716.90
8.0.170.0000.00816.86
8.0.160.0030.00616.82
8.0.150.0000.00716.86
8.0.140.0070.00016.66
8.0.130.0000.00613.28
8.0.120.0040.00416.66
8.0.110.0030.00316.67
8.0.100.0000.00716.88
8.0.90.0030.00316.82
8.0.80.0060.01916.77
8.0.70.0000.00716.85
8.0.60.0050.00316.84
8.0.50.0000.00716.84
8.0.30.0110.00617.05
8.0.20.0120.00817.40
8.0.10.0000.00716.80
8.0.00.0070.01016.60
7.4.330.0000.00515.55
7.4.320.0000.00716.44
7.4.300.0030.00316.56
7.4.290.0070.00416.42
7.4.280.0090.00016.41
7.4.270.0030.00316.55
7.4.260.0030.00313.17
7.4.250.0050.00316.29
7.4.240.0040.00416.45
7.4.230.0000.00716.53
7.4.220.0070.01116.41
7.4.210.0100.01016.59
7.4.200.0000.00716.59
7.4.160.0050.01016.23
7.4.150.0130.00417.40
7.4.140.0110.01317.86
7.4.130.0130.00916.38
7.4.120.0080.01316.37
7.4.110.0140.00416.48
7.4.100.0110.00516.40
7.4.90.0030.01416.47
7.4.80.0110.00819.39
7.4.70.0120.00416.46
7.4.60.0100.00716.36
7.4.50.0060.00316.06
7.4.40.0060.00916.54
7.4.30.0060.01016.43
7.4.00.0060.01214.86
7.3.330.0000.00812.98
7.3.320.0050.00013.07
7.3.310.0030.00315.95
7.3.300.0000.00616.02
7.3.290.0060.01016.15
7.3.280.0100.00816.11
7.3.270.0100.00717.40
7.3.260.0130.00616.30
7.3.250.0080.01116.13
7.3.240.0050.01116.34
7.3.230.0100.00716.43
7.3.210.0060.00916.19
7.3.200.0070.01416.14
7.3.190.0040.01416.13
7.3.180.0150.00616.27
7.3.170.0170.00016.22
7.3.160.0100.00616.19
7.2.330.0070.01016.26
7.2.320.0110.00816.41
7.2.310.0100.00616.48
7.2.300.0110.00516.23
7.2.290.0030.01316.49
7.2.60.0170.00316.81
7.2.00.0090.00619.17
7.1.200.0040.00815.88
7.1.100.0090.00318.00
7.1.70.0050.00317.02
7.1.60.0200.01333.14
7.1.50.0370.00332.94
7.1.40.1470.02032.71
7.1.30.1270.01732.45
7.1.20.1270.01732.65
7.1.10.1000.01714.63
7.1.00.1170.01014.81
7.0.200.1200.01014.76
7.0.190.0070.01314.86
7.0.180.0100.01014.22
7.0.170.2830.02014.40
7.0.160.0970.00714.47
7.0.150.1070.01714.12
7.0.140.0070.01314.37
7.0.130.1330.01714.43
7.0.120.1270.01014.69
7.0.110.1130.01314.16
7.0.100.0100.01014.56
7.0.90.0300.00714.32
7.0.80.1170.01714.44
7.0.70.1200.01314.33
7.0.60.1030.01314.23
7.0.50.0530.01014.24
7.0.40.1300.00314.63
7.0.30.0200.01014.64
7.0.20.0370.01714.46
7.0.10.0070.01014.44
7.0.00.1000.01714.75

preferences:
56.33 ms | 401 KiB | 5 Q