RecursiveIteratorIterator ignoring keys which are array – PHP
I want to search values in array by key, but I am having trouble when those keys value are an array, I have the following code: $key_to_search = "sizes"; $result = []; $array = [ "color" => "red", "subcolor" =>…