<?php $a = ['a' => ['1', '2']]; $b = ['a' => ['3'], 'b' => ['4']]; print_r(array_replace_recursive($a,$b));
You have javascript disabled. You will not be able to edit any code.