I have this array
Array
(
[thumbnail] => Array
(
[width] => 150
[height] => 150
[crop] => 1
)
[medium] => Array
(
[width] => 300
[height] => 300
[crop] =>
)
[medium_large] => Array
(
[width] => 768
[height] => 0
[crop] =>
)
[large] => Array
(
[width] => 1024
[height] => 1024
[crop] =>
)
[twentyseventeen-featured-image] => Array
(
[width] => 2000
[height] => 1200
[crop] => 1
)
[twentyseventeen-thumbnail-avatar] => Array
(
[width] => 100
[height] => 100
[crop] => 1
)
)
If I use print_r(array_keys($arraydata, true)) I get the value of thumbnails name but I want to get the width and height and corresponding width and height value of all. I can use foreach
tried with keys but it did not work