I have an associative multidimensional array with multiple state ids:
array:2 [
0 => array:2 [
"url" => "http://www.kerluke.net/qui-sint-debitis-quo-et-suscipit-dolores-dolor-quae"
"us_states_ids" => array:2 [
0 => "15"
1 => "16"
]
]
1 => array:2 [
"url" => "http://www.migato.net/qui-sint-debitis-quo-et-suscipit-dolores-dolor-quae"
"us_states_ids" => array:3 [
0 => "15"
1 => "24"
2 => "28"
]
]
]
Now I want to find duplicate ids for us_states_ids as you can see index 1 has id of 15 same as index 2. How can I achieve this?