array (
array(
"url" => "tut url",
"format" => "mp4, video, 720p"
),
array(
"url" => "tut url",
"format" => "mp4, video, 480p"
),
array(
"url" => "tut url",
"format" => "mp4, video, 360p"
)
)
$arr = [
[
"url" => "tut url",
"format" => "mp4, video, 720p"
],
[
"url" => "tut url",
"format" => "mp4, video, 480p"
],
[
"url" => "tut url",
"format" => "mp4, video, 360p"
]
];
$arr = array_filter($arr, function($a){
return $a['format'] == "mp4, video, 720p" || $a['format'] == "mp4, video, 480p";
});
var_dump($arr);
?