<?php
$a = [
'FoundryMcrouter' => [
'pool' => [
[
'host' => 'localhost',
'port' => 11211,
'weight' => 0,
],
],
'namespace' => 'delivery-club',
/*
'host' => '',
'cluster' => '/dc/cluster/'
*/
],
];
$b = [
'FoundryMcrouter' => [
'pool' => [
[
'host' => 'localhost',
'port' => 11211,
'weight' => 0,
],
],
],
];
var_dump(array_merge_recursive($a,$b));
preferences:
38.99 ms | 402 KiB | 5 Q