3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = array('b304' => '304', 'b402' => '402'); $arr2 = array('b304' => '304'); print_r(array_merge_recursive($arr1, $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.0070.01116.38
8.3.50.0120.00621.95
8.3.40.0100.00718.46
8.3.30.0070.00718.83
8.3.20.0000.00720.20
8.3.10.0050.00323.53
8.3.00.0040.00420.56
8.2.180.0110.00716.63
8.2.170.0100.01022.96
8.2.160.0070.00721.94
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0000.00720.57
8.2.110.0100.00021.04
8.2.100.0080.00317.72
8.2.90.0070.00019.17
8.2.80.0040.00417.97
8.2.70.0050.00517.38
8.2.60.0050.00318.03
8.2.50.0000.00818.07
8.2.40.0040.00417.88
8.2.30.0000.01117.99
8.2.20.0000.00917.57
8.2.10.0000.00817.59
8.2.00.0060.00317.54
8.1.280.0030.01225.92
8.1.270.0040.00423.80
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0050.00522.05
8.1.230.0060.00618.95
8.1.220.0000.00917.74
8.1.210.0080.00018.77
8.1.200.0030.00717.35
8.1.190.0080.00017.54
8.1.180.0080.00018.10
8.1.170.0030.00618.72
8.1.160.0060.00421.91
8.1.150.0040.00418.55
8.1.140.0040.00417.31
8.1.130.0030.00617.87
8.1.120.0040.00417.29
8.1.110.0030.00517.39
8.1.100.0000.00817.39
8.1.90.0000.00717.39
8.1.80.0000.00717.43
8.1.70.0030.00317.31
8.1.60.0030.00617.39
8.1.50.0030.00517.34
8.1.40.0080.00017.49
8.1.30.0050.00317.49
8.1.20.0080.00017.57
8.1.10.0040.00417.42
8.1.00.0000.00717.25
8.0.300.0000.00818.77
8.0.290.0000.00817.05
8.0.280.0070.00018.29
8.0.270.0000.00717.09
8.0.260.0000.00716.75
8.0.250.0000.00716.89
8.0.240.0000.00916.88
8.0.230.0030.00316.79
8.0.220.0030.00316.75
8.0.210.0070.00016.86
8.0.200.0040.00416.84
8.0.190.0050.00216.86
8.0.180.0040.00416.70
8.0.170.0030.00516.91
8.0.160.0070.00016.71
8.0.150.0030.00516.80
8.0.140.0040.00416.66
8.0.130.0000.00513.33
8.0.120.0040.00416.73
8.0.110.0040.00416.68
8.0.100.0030.00516.73
8.0.90.0030.00316.67
8.0.80.0040.01116.84
8.0.70.0040.00416.88
8.0.60.0080.00016.64
8.0.50.0000.00816.64
8.0.30.0100.01217.05
8.0.20.0030.01417.40
8.0.10.0050.00216.98
8.0.00.0110.00616.76
7.4.330.0050.00015.10
7.4.320.0000.00616.32
7.4.300.0030.00316.41
7.4.290.0100.00016.51
7.4.280.0030.00316.43
7.4.270.0040.00416.42
7.4.260.0030.00316.50
7.4.250.0000.00816.47
7.4.240.0030.00316.48
7.4.230.0040.00316.56
7.4.220.0110.00716.42
7.4.210.0040.01316.55
7.4.200.0000.00716.26
7.4.190.0070.00016.46
7.4.160.0060.00916.53
7.4.150.0090.00917.40
7.4.140.0140.00717.86
7.4.130.0070.01016.38
7.4.120.0080.00916.39
7.4.110.0060.00916.51
7.4.100.0090.00916.46
7.4.90.0140.00316.43
7.4.80.0130.01116.52
7.4.70.0070.01016.36
7.4.60.0030.01316.35
7.4.50.0080.00016.16
7.4.40.0100.00722.77
7.4.30.0090.00616.42
7.4.00.0100.00714.79
7.3.330.0000.00613.04
7.3.320.0030.00212.96
7.3.310.0040.00416.02
7.3.300.0000.00716.10
7.3.290.0090.00616.19
7.3.280.0060.01016.10
7.3.270.0090.00917.40
7.3.260.0190.00316.39
7.3.250.0090.01116.20
7.3.240.0090.00616.13
7.3.230.0030.01316.40
7.3.210.0000.01716.27
7.3.200.0090.01219.39
7.3.190.0140.01216.51
7.3.180.0080.00816.03
7.3.170.0060.01016.27
7.3.160.0100.01016.12
7.3.120.0000.01114.61
7.2.330.0100.00716.49
7.2.320.0100.01416.25
7.2.310.0150.00616.18
7.2.300.0130.00316.15
7.2.290.0070.01016.28
7.2.00.0090.00619.22
7.1.200.0030.01015.62
7.1.100.0040.00717.96
7.1.70.0030.00717.09
7.1.60.0030.02019.29
7.1.50.0040.01116.80
7.1.00.0130.06022.46
7.0.200.0160.00316.74
7.0.140.0030.07322.21
7.0.60.0100.05720.01
7.0.50.0000.05717.86
7.0.40.0070.04720.25
7.0.30.0400.06720.19
7.0.20.0330.05720.12
7.0.10.0270.05720.09
7.0.00.0170.05320.20
5.6.280.0000.07721.14
5.6.210.0000.04320.70
5.6.200.0100.08318.19
5.6.190.0100.08720.47
5.6.180.0030.04320.47
5.6.170.0130.04720.54
5.6.160.0070.08320.52
5.6.150.0000.05318.15
5.6.140.0130.07718.27
5.6.130.0030.04718.15
5.6.120.0000.04320.97
5.6.110.0100.04320.96
5.6.100.0130.05721.10
5.6.90.0100.07720.95
5.6.80.0100.07720.35
5.6.70.3030.04320.27
5.5.350.0030.07720.51
5.5.340.0100.07717.95
5.5.330.0100.05720.35
5.5.320.0070.05320.24
5.5.310.0230.06020.23
5.5.300.0070.04017.95
5.5.290.0100.06717.95
5.5.280.0030.04320.76
5.5.270.0030.06720.75
5.5.260.0200.04320.87
5.5.250.0100.07020.67
5.5.240.0070.08320.26
5.4.450.0530.04019.41
5.4.440.0370.06019.38
5.4.430.0170.05719.27
5.4.420.0300.06719.05
5.4.410.0230.05319.04
5.4.400.1170.08018.71
5.4.390.1130.07718.53
5.4.380.0130.05318.83
5.4.370.0070.05718.45
5.4.360.0230.04018.57
5.4.350.0200.05018.77
5.4.340.0130.05318.73
5.4.320.0040.03712.48
5.4.310.0060.04112.48
5.4.300.0010.04612.48
5.4.290.0020.05412.48
5.4.280.0100.05212.34
5.4.270.0090.04712.34
5.4.260.0080.06212.34
5.4.250.0080.07112.34
5.4.240.0090.06812.34
5.4.230.0050.05612.34
5.4.220.0150.03712.33
5.4.210.0110.04112.34
5.4.200.0090.04212.33
5.4.190.0080.05412.33
5.4.180.0100.05012.33
5.4.170.0070.05012.34
5.4.160.0070.04912.34
5.4.150.0100.05512.33
5.4.140.0290.08712.02
5.4.130.0110.06012.01
5.4.120.0120.05811.96
5.4.110.0080.05311.96
5.4.100.0130.06211.96
5.4.90.0110.05811.96
5.4.80.0080.07111.96
5.4.70.0100.04911.95
5.4.60.0140.05411.95
5.4.50.0160.08211.95
5.4.40.0090.04911.95
5.4.30.0210.08911.94
5.4.20.0090.03611.94
5.4.10.0140.04911.94
5.4.00.0100.04611.43
5.3.290.0050.04512.80
5.3.280.0160.06312.71
5.3.270.0110.06312.73
5.3.260.0100.07012.72
5.3.250.0140.07812.72
5.3.240.0120.08412.72
5.3.230.0200.07912.70
5.3.220.0130.08612.68
5.3.210.0100.06212.68
5.3.200.0120.04812.68
5.3.190.0230.08612.68
5.3.180.0200.06712.67
5.3.170.0090.08512.66
5.3.160.0110.06212.68
5.3.150.0080.06012.67
5.3.140.0140.05212.66
5.3.130.0140.07712.66
5.3.120.0070.06812.66
5.3.110.0060.06512.65
5.3.100.0110.08212.12
5.3.90.0060.06912.09
5.3.80.0130.05312.07
5.3.70.0150.07512.08
5.3.60.0140.07812.06
5.3.50.0120.08612.00
5.3.40.0100.05912.00
5.3.30.0090.05211.94
5.3.20.0080.04811.73
5.3.10.0100.04911.69
5.3.00.0110.06311.68
5.2.170.0130.0609.17
5.2.160.0110.0619.17
5.2.150.0130.0669.18
5.2.140.0090.0469.17
5.2.130.0090.0659.13
5.2.120.0080.0379.13
5.2.110.0070.0399.14
5.2.100.0120.0619.14
5.2.90.0200.0589.13
5.2.80.0170.0659.14
5.2.70.0220.0839.13
5.2.60.0130.0469.09
5.2.50.0070.0439.05
5.2.40.0130.0349.03
5.2.30.0090.0429.01
5.2.20.0060.0419.00
5.2.10.0090.0378.91
5.2.00.0100.0418.77
5.1.60.0090.0478.04
5.1.50.0080.0338.04
5.1.40.0060.0298.03
5.1.30.0070.0288.38
5.1.20.0040.0318.39
5.1.10.0070.0258.12
5.1.00.0090.0358.12
5.0.50.0050.0306.60
5.0.40.0060.0306.46
5.0.30.0050.0446.27
5.0.20.0040.0296.24
5.0.10.0050.0326.21
5.0.00.0060.0456.21
4.4.90.0080.0334.78
4.4.80.0040.0264.76
4.4.70.0040.0244.75
4.4.60.0050.0214.76
4.4.50.0030.0234.77
4.4.40.0030.0354.71
4.4.30.0050.0164.76
4.4.20.0060.0184.85
4.4.10.0030.0254.85
4.4.00.0030.0344.76
4.3.110.0070.0234.67
4.3.100.0060.0214.67
4.3.90.0030.0204.64
4.3.80.0030.0314.58
4.3.70.0060.0184.63
4.3.60.0040.0174.63
4.3.50.0030.0224.63
4.3.40.0010.0344.53
4.3.30.0040.0163.27
4.3.20.0030.0203.25
4.3.10.0030.0203.22
4.3.00.0070.02312.57

preferences:
45.71 ms | 401 KiB | 5 Q