один - родительский массив, а другой - фильтрованный массив.Оттуда я просто хочу установить два отдельных массива: общий массив уникальный массив
$a = array([0]=> Array
(
[id] => 22429
[user_id] => 0
[shop_id] => 78
[start_date] =>
[fn_point] => 0
),[1]=> Array
(
[id] => 22430
[user_id] => 0
[shop_id] => 78
[start_date] =>
[fn_point] => 0
),[2]=> => Array
(
[id] => 22431
[user_id] => 0
[shop_id] => 78
[start_date] =>
[fn_point] => 0
),[3] => Array
(
[id] => 22432
[user_id] => 0
[shop_id] => 78
[start_date] =>
[fn_point] => 0
));
$b = array("0"=> Array
(
[id] => 22428
[user_id] => 0
[shop_id] => 78
[start_date] =>
[fn_point] => 0
),"1" => Array
(
[id] => 22430
[user_id] => 0
[shop_id] => 78
[start_date] =>
[fn_point] => 0
),[2]=> Array
(
[id] => 22431
[user_id] => 0
[shop_id] => 78
[start_date] =>
[fn_point] => 0
),[3] => Array
(
[id] => 22432
[user_id] => 0
[shop_id] => 78
[start_date] =>
[fn_point] => 0
));;
вывод для уникального массива будет
$c = array(
[0]=> Array
(
[id] => 22429
[user_id] => 0
[shop_id] => 78
[start_date] =>
[fn_point] => 0
)
);
вывод для общего массива будет
$u = array(
[0]=> Array
(
[id] => 22430
[user_id] => 0
[shop_id] => 78
[start_date] =>
[fn_point] => 0
),[1]=> Array
(
[id] => 22431
[user_id] => 0
[shop_id] => 78
[start_date] =>
[fn_point] => 0
),[2]=> Array
(
[id] => 22432
[user_id] => 0
[shop_id] => 78
[start_date] =>
[fn_point] => 0
)
);