Есть два массива
первый
array (size=148)
0 =>
array (size=6)
'id_1' => string '1' (length=1)
'id_2' => string '6' (length=2)
'text' => string 'Lorem ipsum' (length=16)
'insert_time' => string '0000-00-00 00:00:00' (length=19)
'update_time' => string '0000-00-00 00:00:00' (length=19)
'is_check' => string '0' (length=1)
1 =>
array (size=6)
'id_1' => string '1' (length=1)
'id_2' => string '2' (length=2)
'text' => string 'Lorem ipsum' (length=16)
'insert_time' => string '0000-00-00 00:00:00' (length=19)
'update_time' => string '0000-00-00 00:00:00' (length=19)
'is_check' => string '0' (length=1)
...
второй
array (size=221)
0 =>
array (size=3)
'id_2' => string '6' (length=2)
'title' => string 'ipsum' (length=30)
'address' => string 'lorem' (length=42)
1 =>
array (size=3)
'id_2' => string '2' (length=2)
'title' => string 'lorem' (length=30)
'address' => string 'ipsum' (length=39)
...
нужно собрать третий массив который будет выглядеть так
0 =>
array (size=3)
'id_1' => string '1' (length=1)
'text' => string 'Lorem ipsum' (length=16)
'insert_time' => string '0000-00-00 00:00:00' (length=19)
'update_time' => string '0000-00-00 00:00:00' (length=19)
'value' =>
array (size=28)
0 =>
array (size=3)
'id' => string '6' (length=2)
'title' => string 'ipsum' (length=30)
'address' => string 'lorem' (length=42)
'is_check' => string '0' (length=1)
1 =>
array (size=3)
'id' => string '2' (length=2)
'title' => string 'ipsum' (length=30)
'address' => string 'lorem' (length=42)
'is_check' => string '0' (length=1)
как это все сделать посредством php