$formats = explode(',', $video['formats']);
foreach ($formats as $key => $value) {
unset($f);
$f = explode('.', $value);
$vf[$key]['height'] = $f[0];
$vf[$key]['label'] = $f[1];
$vf[$key]['format'] = $f[2];
$vf[$key]['file'] = $video['VID']."_".$vf[$key]['label'].".".$vf[$key]['format'];
}
$video['files'] = $vf;
вывод массива: Array ( [0] => Array ( [height] => 720 [label] => 720p [format] => mp4 [file] => 321491_720p.mp4 ) [1] => Array ( [height] => 400 [label] => 480p [format] => mp4 [file] => 321491_480p.mp4 ) )
как получить значения [file], то есть 321491_720p.mp4 и 321491_480p.mp4