add another array data in array php
问题 hello i am trying to add another array data to an array, i have array like this, array:4 [▼ "data" => array:19 [▼ 0 => array:2 [▼ 0 => array:1 [▼ "filename" => "a" ] 1 => array:1 [▼ "filename" => "b" ] ] 1 => array:2 [▼ 0 => array:1 [▼ "filename" => "c" ] 1 => array:1 [▼ "filename" => "d" ] ] 2 => array:2 [▼ 0 => array:1 [▼ "filename" => "e" ] 1 => array:1 [▼ "filename" => "f" ] ] ] "video" => array:2 [▼ 0 => array:1 [▼ "url" => "x" ] 1 => array:1 [▼ "url" => "y" ] ] ] i want array like this