3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a =['memcached' => [ 'servers' => [ ], 'namespace' => 'delivery-club', 'persistentId' => 'pool-delivery-club', ],]; $b = ['memcached' => [ 'servers' => [213,4,5 ], ],]; var_dump(array_merge_recursive($a,$b));
based on sXmE9
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.1
array(1) { ["memcached"]=> array(3) { ["servers"]=> array(3) { [0]=> int(213) [1]=> int(4) [2]=> int(5) } ["namespace"]=> string(13) "delivery-club" ["persistentId"]=> string(18) "pool-delivery-club" } }