Buenas tengo este Array:
$array = array (
'id' => 457243060,
'album_id' => -3,
'owner_id' => 208428341,
'sizes' => array (
array (
'type' => 's',
'url' => 'https://sun9-67.userapi.com/c857616/v857616133/1a62f4/eS7hlSZYlHE.jpg',
'width' => 75,
'height' => 75
),
array (
'type' => 'm',
'url' => 'https://sun9-29.userapi.com/c857616/v857616133/1a62f5/oYJdSRKPbfY.jpg',
'width' => 130,
'height' => 130
),
array (
'type' => 'x',
'url' => 'https://sun9-16.userapi.com/c857616/v857616133/1a62f6/-NHOu25XkDk.jpg',
'width' => 604,
'height' => 604
),
array (
'type' => 'y',
'url' => 'https://sun9-14.userapi.com/c857616/v857616133/1a62f7/34fwsN3EFEc.jpg',
'width' => 807,
'height' => 807
),
array (
'type' => 'z',
'url' => 'https://sun9-64.userapi.com/c857616/v857616133/1a62f8/8jDB0yaqEk4.jpg',
'width' => 1080,
'height' => 1080
),
array (
'type' => 'w',
'url' => 'https://sun9-40.userapi.com/c857616/v857616133/1a62f9/ToyJjVZXaUg.jpg',
'width' => 1280,
'height' => 1280
),
array (
'type' => 'o',
'url' => 'https://sun9-32.userapi.com/c857616/v857616133/1a62fa/7z-veU2v_1o.jpg',
'width' => 130,
'height' => 130,
),
array (
'type' => 'p',
'url' => 'https://sun9-56.userapi.com/c857616/v857616133/1a62fb/dD_sshumBxE.jpg',
'width' => 200,
'height' => 200
),
array (
'type' => 'q',
'url' => 'https://sun9-62.userapi.com/c857616/v857616133/1a62fc/qkCjR4c_k_M.jpg',
'width' => 320,
'height' => 320
),
array (
'type' => 'r',
'url' => 'https://sun9-48.userapi.com/c857616/v857616133/1a62fd/NuONkTQdEkE.jpg',
'width' => 510,
'height' => 510
)
),
'text' => '',
'date' => 1584084929,
'access_key' => 'b97d42f1637ed7d825'
);
Necesito ayuda para obtener la imagen más grande de este array, e provado de varias maneras, como por ejemplo:
$contenido="";
foreach($array["items"] as $row){
$contenido .= $row["id"].PHP_EOL;
}
Pero no me funciona espero alguna idea.