3v4l.org

run code in 300+ PHP versions simultaneously
<?php $def = array('a'=>1, 'b'=>2); //////// $arr_lang = array('de' => array('a'=>3, 'c'=>4)); $arr_lang = array_merge($def , $arr_lang['de']); ////// print_r($arr_lang);

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.0100.00718.43
8.3.50.0190.00921.87
8.3.40.0110.00318.69
8.3.30.0100.00318.79
8.3.20.0070.00020.18
8.3.10.0040.00423.36
8.3.00.0040.00420.78
8.2.180.0040.01116.50
8.2.170.0070.00722.96
8.2.160.0000.01320.44
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00419.36
8.2.110.0040.00419.32
8.2.100.0090.00317.91
8.2.90.0040.00417.75
8.2.80.0060.00317.97
8.2.70.0050.00317.93
8.2.60.0040.00418.03
8.2.50.0040.00418.10
8.2.40.0000.00922.38
8.2.30.0070.00318.24
8.2.20.0000.00717.66
8.2.10.0070.00017.96
8.2.00.0030.00619.51
8.1.280.0180.00725.92
8.1.270.0040.00423.85
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0030.00623.87
8.1.230.0080.00422.62
8.1.220.0000.00917.74
8.1.210.0050.00318.77
8.1.200.0060.00317.22
8.1.190.0000.00817.00
8.1.180.0070.00418.10
8.1.170.0030.00618.61
8.1.160.0040.00421.94
8.1.150.0000.00818.57
8.1.140.0000.00717.36
8.1.130.0000.00717.85
8.1.120.0070.00017.39
8.1.110.0000.00717.28
8.1.100.0050.00317.38
8.1.90.0030.00317.27
8.1.80.0040.00417.45
8.1.70.0000.00717.37
8.1.60.0030.00517.41
8.1.50.0000.00917.37
8.1.40.0000.00817.43
8.1.30.0080.00017.53
8.1.20.0000.00717.55
8.1.10.0040.00417.48
8.1.00.0040.00417.45
8.0.300.0000.00719.96
8.0.290.0030.00516.58
8.0.280.0040.00418.30
8.0.270.0070.00017.17
8.0.260.0030.00317.10
8.0.250.0040.00416.77
8.0.240.0060.00316.89
8.0.230.0000.00716.81
8.0.220.0040.00416.83
8.0.210.0030.00316.72
8.0.200.0040.00416.76
8.0.190.0030.00616.75
8.0.180.0000.00816.84
8.0.170.0040.00416.88
8.0.160.0000.00716.73
8.0.150.0070.00016.73
8.0.140.0030.00316.80
8.0.130.0050.00013.22
8.0.120.0020.00516.68
8.0.110.0080.00016.86
8.0.100.0070.00016.76
8.0.90.0070.00016.77
8.0.80.0110.01116.85
8.0.70.0070.00016.68
8.0.60.0000.00716.69
8.0.50.0030.00516.61
8.0.30.0170.00916.87
8.0.20.0140.00517.40
8.0.10.0040.00416.95
8.0.00.0100.00716.66
7.4.330.0020.00215.00
7.4.320.0060.00016.32
7.4.300.0060.00016.32
7.4.290.0030.00316.38
7.4.280.0070.00016.54
7.4.270.0030.00316.52
7.4.260.0030.00316.30
7.4.250.0030.00616.48
7.4.240.0010.00716.54
7.4.230.0030.00316.27
7.4.220.0140.00316.63
7.4.210.0030.01016.55
7.4.200.0020.00516.32
7.4.160.0030.01316.37
7.4.150.0030.01417.40
7.4.140.0050.01417.86
7.4.130.0030.01316.50
7.4.120.0100.00916.35
7.4.110.0100.01016.50
7.4.100.0100.01016.39
7.4.90.0060.01216.34
7.4.80.0150.00319.39
7.4.70.0000.01516.29
7.4.60.0100.01016.51
7.4.50.0040.00416.29
7.4.40.0100.00716.33
7.4.30.0150.00316.34
7.4.00.0110.00714.80
7.3.330.0000.00513.11
7.3.320.0000.00613.11
7.3.310.0000.00716.09
7.3.300.0000.00716.12
7.3.290.0070.01016.21
7.3.280.0070.00916.20
7.3.270.0100.00717.40
7.3.260.0100.01016.29
7.3.250.0150.00816.38
7.3.240.0080.01316.13
7.3.230.0090.00616.39
7.3.210.0070.01116.19
7.3.200.0120.00919.39
7.3.190.0030.01516.65
7.3.180.0100.00716.25
7.3.170.0040.01116.27
7.3.160.0080.01016.21
7.3.120.0070.00714.85
7.2.330.0070.01116.60
7.2.320.0120.00316.16
7.2.310.0070.01016.35
7.2.300.0060.01016.66
7.2.290.0100.00716.31
7.2.00.0240.00918.56
7.1.100.0270.01316.40
7.1.70.0060.00617.18
7.1.60.0100.01419.70
7.1.50.0070.01616.99
7.1.00.0030.07722.40
7.0.200.0000.00716.68
7.0.140.0070.07022.11
7.0.60.0030.06320.06
7.0.50.0170.07317.86
7.0.40.0070.08320.04
7.0.30.0400.07320.02
7.0.20.0470.05320.18
7.0.10.0000.05320.09
7.0.00.0000.09719.95
5.6.280.0070.06721.15
5.6.210.0000.07320.50
5.6.200.0100.03318.19
5.6.190.0000.09320.67
5.6.180.0570.06320.35
5.6.170.0300.05320.50
5.6.160.0030.09020.39
5.6.150.0030.08318.07
5.6.140.0100.04718.11
5.6.130.0030.04018.11
5.6.120.0070.08321.04
5.6.110.0000.09720.98
5.6.100.0070.09021.10
5.6.90.0030.08021.09
5.6.80.0070.08320.39
5.5.350.0070.07720.42
5.5.340.0100.07717.98
5.5.330.0270.05720.07
5.5.320.0030.05720.34
5.5.310.0330.07020.29
5.5.300.0130.07317.97
5.5.290.0030.06017.91
5.5.280.0130.08020.76
5.5.270.0230.04020.85
5.5.260.0170.08020.75
5.5.250.0030.07320.57
5.5.240.0100.07020.18
5.4.450.0200.07719.57
5.4.440.0300.09019.39
5.4.430.0300.04019.13
5.4.420.0230.04019.57
5.4.410.0270.06718.98
5.4.400.0130.04719.12
5.4.390.0230.07319.21
5.4.380.0230.05319.24
5.4.370.0330.06318.79
5.4.360.0270.07318.95
5.4.350.0330.03718.93
5.4.340.0200.06319.24
5.4.320.0300.03719.10
5.4.310.0230.05319.21
5.4.300.0100.05019.09
5.4.290.0170.04019.23
5.4.280.0200.03718.92
5.4.270.0270.04319.13
5.4.260.0200.08019.24
5.4.250.0270.06318.80
5.4.240.0230.07018.88
5.4.230.0070.04719.08
5.4.220.0230.04718.92
5.4.210.0330.03319.23
5.4.200.0170.06719.24
5.4.190.0200.04318.77
5.4.180.0300.06719.20
5.4.170.0170.08319.21
5.4.160.0230.07019.11
5.4.150.0230.05719.07
5.4.140.0230.05016.43
5.4.130.0270.05016.33
5.4.120.0230.04316.18
5.4.110.0170.06716.23
5.4.100.0130.05716.42
5.4.90.0170.07016.43
5.4.80.0170.04316.21
5.4.70.0100.08016.39
5.4.60.0230.06016.04
5.4.50.0200.06716.20
5.4.40.0170.06716.47
5.4.30.0270.06716.35
5.4.20.0330.05716.46
5.4.10.0230.05316.18
5.4.00.0230.06015.90
5.3.290.0270.03714.75
5.3.280.0270.06014.55
5.3.270.0130.04314.55
5.3.260.0130.05714.46
5.3.250.0200.06314.49
5.3.240.0230.07314.57
5.3.230.0200.07014.64
5.3.220.0270.06714.50
5.3.210.0170.06314.44
5.3.200.0300.05014.41
5.3.190.0170.07314.42
5.3.180.0270.06714.51
5.3.170.0270.03014.61
5.3.160.0230.07314.59
5.3.150.0200.06014.49
5.3.140.0170.04014.41
5.3.130.0270.07314.53
5.3.120.0200.07714.45
5.3.110.0170.06714.59
5.3.100.0200.07313.88
5.3.90.0170.08013.96
5.3.80.0170.07714.06
5.3.70.0200.06713.95
5.3.60.0130.06013.98
5.3.50.0230.05313.85
5.3.40.0170.08013.79
5.3.30.0130.06313.94
5.3.20.0270.06313.47
5.3.10.0170.06013.62
5.3.00.0170.07713.48
5.2.170.0230.04312.17
5.2.160.0170.05712.17
5.2.150.0170.04712.17
5.2.140.0230.06012.17
5.2.130.0200.05712.17
5.2.120.0300.04712.17
5.2.110.0130.04012.17
5.2.100.0200.04712.17
5.2.90.0200.04012.17
5.2.80.0170.04312.17
5.2.70.0170.03312.17
5.2.60.0230.05712.17
5.2.50.0130.06312.17
5.2.40.0330.01712.17
5.2.30.0230.05012.17
5.2.20.0200.05712.17
5.2.10.0270.04012.17
5.2.00.0100.04712.17
5.1.60.0030.03712.17
5.1.50.0130.05012.17
5.1.40.0100.02312.17
5.1.30.0100.04712.17
5.1.20.0170.04712.17
5.1.10.0200.03712.17
5.1.00.0100.05312.17
5.0.50.0100.03012.17
5.0.40.0130.03712.17
5.0.30.0100.04712.17
5.0.20.0170.03312.17
5.0.10.0130.03712.17
5.0.00.0070.06712.17
4.4.90.0130.03012.17
4.4.80.0070.03712.17
4.4.70.0030.02712.17
4.4.60.0100.02312.17
4.4.50.0100.02312.17
4.4.40.0030.02312.17
4.4.30.0100.03012.17
4.4.20.0130.03312.17
4.4.10.0070.02312.17
4.4.00.0070.06012.17
4.3.110.0170.03312.17
4.3.100.0130.03012.17
4.3.90.0070.02712.17
4.3.80.0030.05312.17
4.3.70.0200.00712.17
4.3.60.0070.01712.17
4.3.50.0030.03712.17
4.3.40.0030.05312.17
4.3.30.0030.03712.17
4.3.20.0030.03312.17
4.3.10.0030.03012.17
4.3.00.0030.02312.17

preferences:
43.4 ms | 401 KiB | 5 Q